changeset 5779:8fae1a51e9c5

(kbd_buffer_get_event): Pass 1 to read_avail_input.
author Richard M. Stallman <rms@gnu.org>
date Fri, 04 Feb 1994 20:41:54 +0000
parents bae344f70bed
children 07449eefd453
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Fri Feb 04 20:21:21 1994 +0000
+++ b/src/keyboard.c	Fri Feb 04 20:41:54 1994 +0000
@@ -1943,9 +1943,8 @@
 	  wait_reading_process_input (0, 0, minus_one, 1);
 
 	  if (!interrupt_input && EVENT_QUEUES_EMPTY)
-	    {
-	      read_avail_input (0);
-	    }
+	    /* Pass 1 for EXPECT since we just waited to have input.  */
+	    read_avail_input (1);
 	}
 #endif /* not VMS */
     }