diff options
| author | Jan Djärv | 2008-04-09 06:47:19 +0000 |
|---|---|---|
| committer | Jan Djärv | 2008-04-09 06:47:19 +0000 |
| commit | ef5eb9256f1e02d97697878276b602500957a626 (patch) | |
| tree | a04944bea9df07d2808432221711074344efe57f /src/process.c | |
| parent | cb5c5b3d7c42024591793f1123da36eade2747b8 (diff) | |
| download | emacs-ef5eb9256f1e02d97697878276b602500957a626.tar.gz emacs-ef5eb9256f1e02d97697878276b602500957a626.zip | |
(wait_reading_process_output): If SYNC_INPUT and pending_atimers, run atimers.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index c3dfd59eeb5..3acf7d35e80 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4309,8 +4309,13 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display, | |||
| 4309 | if (read_kbd >= 0) | 4309 | if (read_kbd >= 0) |
| 4310 | QUIT; | 4310 | QUIT; |
| 4311 | #ifdef SYNC_INPUT | 4311 | #ifdef SYNC_INPUT |
| 4312 | else if (interrupt_input_pending) | 4312 | else |
| 4313 | handle_async_input (); | 4313 | { |
| 4314 | if (interrupt_input_pending) | ||
| 4315 | handle_async_input (); | ||
| 4316 | if (pending_atimers) | ||
| 4317 | do_pending_atimers (); | ||
| 4318 | } | ||
| 4314 | #endif | 4319 | #endif |
| 4315 | 4320 | ||
| 4316 | /* Exit now if the cell we're waiting for became non-nil. */ | 4321 | /* Exit now if the cell we're waiting for became non-nil. */ |