diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2008-04-09 06:47:19 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2008-04-09 06:47:19 +0000 |
commit | ef5eb9256f1e02d97697878276b602500957a626 (patch) | |
tree | a04944bea9df07d2808432221711074344efe57f /src/process.c | |
parent | cb5c5b3d7c42024591793f1123da36eade2747b8 (diff) | |
download | emacs-ef5eb9256f1e02d97697878276b602500957a626.tar.gz |
(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, if (read_kbd >= 0) QUIT; #ifdef SYNC_INPUT - else if (interrupt_input_pending) - handle_async_input (); + else + { + if (interrupt_input_pending) + handle_async_input (); + if (pending_atimers) + do_pending_atimers (); + } #endif /* Exit now if the cell we're waiting for became non-nil. */ |