changeset 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 603e39319c86
children 3c6fccdf8257
files src/process.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
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))