diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-07-09 21:42:51 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-07-09 21:42:51 +0000 |
commit | 97f3b3d6e9f5524a01443f9352737013be4fc6ae (patch) | |
tree | ffca07edd1942ebbb35823bc8a33f5614a7afdf7 /src/process.c | |
parent | dba3adb09b723188607eb156d6d51a4bb5d3ae5f (diff) | |
download | emacs-97f3b3d6e9f5524a01443f9352737013be4fc6ae.tar.gz |
(wait_reading_process_input): If wait_for_cell, do call
swallow_events and do_pending_window_change when appropriate.
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 7b210b70c02..e5e77a6f9b0 100644 --- a/src/process.c +++ b/src/process.c @@ -1880,7 +1880,8 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) /* If there is any, return immediately to give it higher priority than subprocesses */ - if (XINT (read_kbd) && detect_input_pending ()) + if ((XINT (read_kbd) || wait_for_cell) + && detect_input_pending ()) { swallow_events (); if (detect_input_pending ()) @@ -1906,7 +1907,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) /* If checking input just got us a size-change event from X, obey it now if we should. */ - if (XINT (read_kbd)) + if (XINT (read_kbd) || wait_for_cell) do_pending_window_change (); /* Check for data from a process or a command channel */ |