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 | |
| 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')
| -rw-r--r-- | src/ChangeLog | 11 | ||||
| -rw-r--r-- | src/process.c | 9 |
2 files changed, 18 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 918b914b076..179fcadfc21 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2008-04-09 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * atimer.c (alarm_signal_handler): Call run_timers if not SYNC_INPUT. | ||
| 4 | Most of the code moved to run_timers. | ||
| 5 | (do_pending_atimers): Call run_timers. | ||
| 6 | (run_timers): New function. | ||
| 7 | |||
| 8 | * sysdep.c (emacs_write): If SYNC_INPUT and pending_atimers, run atimers. | ||
| 9 | |||
| 10 | * process.c (wait_reading_process_output): The same as above. | ||
| 11 | |||
| 1 | 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca> | 12 | 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 13 | ||
| 3 | * minibuf.c (last_exact_completion): Remove variable. | 14 | * minibuf.c (last_exact_completion): Remove variable. |
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. */ |