From bedae5a588b7f8968821cfa09071cd59e69be624 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 4 Feb 1994 20:41:54 +0000 Subject: [PATCH] (kbd_buffer_get_event): Pass 1 to read_avail_input. --- src/keyboard.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index e53dbda540e..da4ca46b676 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1943,9 +1943,8 @@ kbd_buffer_get_event () 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 */ } -- 2.39.5