Mercurial > emacs
diff src/process.c @ 4057:2fe1488b503c
(wait_reading_process_input): If wait_for_cell, do call
swallow_events and do_pending_window_change when appropriate.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 09 Jul 1993 21:42:51 +0000 |
parents | d0c23febc08c |
children | 91a883c56382 |
line wrap: on
line diff
--- a/src/process.c Fri Jul 09 20:46:42 1993 +0000 +++ b/src/process.c Fri Jul 09 21:42:51 1993 +0000 @@ -1880,7 +1880,8 @@ /* 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 @@ /* 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 */