# HG changeset patch # User Jan Dj¸«£rv # Date 1207723599 0 # Node ID 0c2f4b91340c4118629a1d24fe79337457b75667 # Parent ed8ccfc592a8b3f4109903cfbee31bea0b2e9c1e (wait_reading_process_output): If SYNC_INPUT and pending_atimers, run atimers. diff -r ed8ccfc592a8 -r 0c2f4b91340c src/process.c --- a/src/process.c Wed Apr 09 06:46:14 2008 +0000 +++ b/src/process.c Wed Apr 09 06:46:39 2008 +0000 @@ -4309,8 +4309,13 @@ 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. */