comparison src/keyboard.c @ 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 6479e0eabb27
children 995860e5f342
comparison
equal deleted inserted replaced
5778:bae344f70bed 5779:8fae1a51e9c5
1941 1941
1942 XSET (minus_one, Lisp_Int, -1); 1942 XSET (minus_one, Lisp_Int, -1);
1943 wait_reading_process_input (0, 0, minus_one, 1); 1943 wait_reading_process_input (0, 0, minus_one, 1);
1944 1944
1945 if (!interrupt_input && EVENT_QUEUES_EMPTY) 1945 if (!interrupt_input && EVENT_QUEUES_EMPTY)
1946 { 1946 /* Pass 1 for EXPECT since we just waited to have input. */
1947 read_avail_input (0); 1947 read_avail_input (1);
1948 }
1949 } 1948 }
1950 #endif /* not VMS */ 1949 #endif /* not VMS */
1951 } 1950 }
1952 1951
1953 /* At this point, we know that there is a readable event available 1952 /* At this point, we know that there is a readable event available