]> git.eshelyaron.com Git - emacs.git/commit
(kbd_buffer_store_event_hold): New function to store
authorKim F. Storm <storm@cua.dk>
Fri, 27 Feb 2004 23:46:31 +0000 (23:46 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 27 Feb 2004 23:46:31 +0000 (23:46 +0000)
commit0fc0bac9c461f3358286ff1d4064ed52d709dbe9
treed6e177dd280762379be19a6f3355fb8923b0fe3a
parent9022d4219b27cdeaa15213fb1a4e6faf9e67da43
(kbd_buffer_store_event_hold): New function to store
an event into kbd fifo, but with special handling of quit event;
a quit event is saved for later, and further events are discarded
until the saved quit event has been processed.
(kbd_buffer_store_event): Use kbd_buffer_store_event_hold.
(gen_help_event): Store help event in kbd fifo.
(NREAD_INPUT_EVENTS): Remove.
(read_avail_input): Adapt to new read_socket_hook interface.
Remove allocation and initialization of local input_event buffer,
as read_socket_hook stores events directly in fifo.  Allocate and
initialize local hold_quit event to handle postponed quit event
(and store it if set by kbd_buffer_store_event_hold).
src/keyboard.c