在 2020年3月27日 +0800 AM1:34,Stefan Monnier <address@hidden>,写道:
Doesn't setting the process-filter to t do this? (except for the
override part, I guess)
(set-process-filter PROCESS FILTER)
Give PROCESS the filter function FILTER; nil means default.
A value of t means stop accepting output from the process.
[....]
Ah, indeed you're right.
It's a bit clunky (it means you need to temporarily store the filter
elsewhere and other code that may want to change the filter needs to
know where to find it), but that should be good enough for a start.
HaiJun?
Stefan
Yes. Thanks. @Noam Postavsky