From 6e103bac2ad64f9aa26642e8e612e13069688997 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 25 May 1993 23:19:07 +0000 Subject: [PATCH] (wait_reading_process_input): Call swallow_events. --- src/process.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index 9e2bdad45e..f2c0125877 100644 --- a/src/process.c +++ b/src/process.c @@ -1875,7 +1875,11 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) to give it higher priority than subprocesses */ if (XINT (read_kbd) && detect_input_pending ()) - break; + { + swallow_events (); + if (detect_input_pending ()) + break; + } /* Exit now if the cell we're waiting for became non-nil. */ if (wait_for_cell && ! NILP (*wait_for_cell)) -- 2.20.1