From 43ff45a00d1fc6e108c99d35b1f7ec9c844f1825 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 21 Jan 2004 05:27:58 +0000 Subject: [PATCH] (wait_reading_process_input) [SYNC_INPUT]: Check interrupt_input_pending. --- src/process.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/process.c b/src/process.c index 854607a2230..fec6fdb2660 100644 --- a/src/process.c +++ b/src/process.c @@ -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))) -- 2.39.2