]> git.eshelyaron.com Git - emacs.git/commitdiff
(kbd_buffer_get_event): Pass 1 to read_avail_input.
authorRichard M. Stallman <rms@gnu.org>
Fri, 4 Feb 1994 20:41:54 +0000 (20:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 4 Feb 1994 20:41:54 +0000 (20:41 +0000)
src/keyboard.c

index e53dbda540e831b9bbe489d3251ed206e92ded73..da4ca46b6762fa39b5e948ed6c5deecb970843f6 100644 (file)
@@ -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 */
     }