(wait_reading_process_input) [SYNC_INPUT]: Check interrupt_input_pending.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 21 Jan 2004 05:27:58 +0000 (05:27 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 21 Jan 2004 05:27:58 +0000 (05:27 +0000)
src/process.c

index 854607a..fec6fdb 100644 (file)
@@ -4080,6 +4080,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
         Otherwise, do pending quit if requested.  */
       if (XINT (read_kbd) >= 0)
        QUIT;
+#ifdef SYNC_INPUT
+      else if (interrupt_input_pending)
+       handle_async_input ();
+#endif
 
       /* Exit now if the cell we're waiting for became non-nil.  */
       if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell)))