Commit 43ff45a0 authored by Stefan Monnier's avatar Stefan Monnier

(wait_reading_process_input) [SYNC_INPUT]: Check interrupt_input_pending.

parent 35d3b513
...@@ -4080,6 +4080,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) ...@@ -4080,6 +4080,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
Otherwise, do pending quit if requested. */ Otherwise, do pending quit if requested. */
if (XINT (read_kbd) >= 0) if (XINT (read_kbd) >= 0)
QUIT; 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. */ /* Exit now if the cell we're waiting for became non-nil. */
if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell))) if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment