aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-05-25 23:19:07 +0000
committerRichard M. Stallman <[email protected]>1993-05-25 23:19:07 +0000
commit6e103bac2ad64f9aa26642e8e612e13069688997 (patch)
tree18d86923a905f8a8b7ac69960b3dc7f9402ffa57 /src/process.c
parent8b87a301047d32f26b330ec2bd31001923f64ae9 (diff)
(wait_reading_process_input): Call swallow_events.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 5 insertions, 1 deletions
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))