Mercurial > emacs
diff src/process.c @ 3103:98505a819898
(wait_reading_process_input): Call swallow_events.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Tue, 25 May 1993 23:19:07 +0000 |
| parents | cfd999700613 |
| children | 0f0d9e9c33f2 |
line wrap: on
line diff
--- a/src/process.c Tue May 25 22:59:26 1993 +0000 +++ b/src/process.c Tue May 25 23:19:07 1993 +0000 @@ -1875,7 +1875,11 @@ 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))
