diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 8181727bb79..22f482476cb 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Asynchronous subprocess control for GNU Emacs. | 1 | /* Asynchronous subprocess control for GNU Emacs. |
| 2 | Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 96, 98, 1999, | 2 | Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 96, 98, 1999, |
| 3 | 2001, 2002, 2003 Free Software Foundation, Inc. | 3 | 2001, 2002, 2003, 2004 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -4080,6 +4080,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 4080 | Otherwise, do pending quit if requested. */ | 4080 | Otherwise, do pending quit if requested. */ |
| 4081 | if (XINT (read_kbd) >= 0) | 4081 | if (XINT (read_kbd) >= 0) |
| 4082 | QUIT; | 4082 | QUIT; |
| 4083 | #ifdef SYNC_INPUT | ||
| 4084 | else if (interrupt_input_pending) | ||
| 4085 | handle_async_input (); | ||
| 4086 | #endif | ||
| 4083 | 4087 | ||
| 4084 | /* Exit now if the cell we're waiting for became non-nil. */ | 4088 | /* Exit now if the cell we're waiting for became non-nil. */ |
| 4085 | if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell))) | 4089 | if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell))) |
| @@ -4296,7 +4300,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 4296 | proc = chan_process[channel]; | 4300 | proc = chan_process[channel]; |
| 4297 | if (NILP (proc)) | 4301 | if (NILP (proc)) |
| 4298 | continue; | 4302 | continue; |
| 4299 | if (XPROCESS (proc)->read_output_delay > 0) | 4303 | if (XINT (XPROCESS (proc)->read_output_delay) > 0) |
| 4300 | { | 4304 | { |
| 4301 | check_delay--; | 4305 | check_delay--; |
| 4302 | if (NILP (XPROCESS (proc)->read_output_skip)) | 4306 | if (NILP (XPROCESS (proc)->read_output_skip)) |