diff options
| author | Stefan Monnier | 2011-08-23 21:55:10 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2011-08-23 21:55:10 -0400 |
| commit | 963b492b635cd33a6a5dd46119208a378e3e6378 (patch) | |
| tree | 3b30cd705b80039a1cb81ee7dd60c64b45894160 /src/process.c | |
| parent | 93b6b5e15dd860ed4c8928475349fc92a0299b43 (diff) | |
| download | emacs-963b492b635cd33a6a5dd46119208a378e3e6378.tar.gz emacs-963b492b635cd33a6a5dd46119208a378e3e6378.zip | |
* lisp/mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
from process filters aren't reliably transmitted to the surrounding
accept-process-output.
(mpc-proc-check): New function.
(mpc-proc-sync): Use it
Fixes: debbugs:8293
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index 2125478907f..977cfb964e2 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -5186,6 +5186,9 @@ read_process_output (Lisp_Object proc, register int channel) | |||
| 5186 | p->decoding_carryover = coding->carryover_bytes; | 5186 | p->decoding_carryover = coding->carryover_bytes; |
| 5187 | } | 5187 | } |
| 5188 | if (SBYTES (text) > 0) | 5188 | if (SBYTES (text) > 0) |
| 5189 | /* FIXME: It's wrong to wrap or not based on debug-on-error, and | ||
| 5190 | sometimes it's simply wrong to wrap (e.g. when called from | ||
| 5191 | accept-process-output). */ | ||
| 5189 | internal_condition_case_1 (read_process_output_call, | 5192 | internal_condition_case_1 (read_process_output_call, |
| 5190 | Fcons (outstream, | 5193 | Fcons (outstream, |
| 5191 | Fcons (proc, Fcons (text, Qnil))), | 5194 | Fcons (proc, Fcons (text, Qnil))), |