]> git.eshelyaron.com Git - emacs.git/commit
Ignore more events in input-pending-p
authorEli Zaretskii <eliz@gnu.org>
Thu, 28 Oct 2021 15:47:41 +0000 (18:47 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 28 Oct 2021 15:47:41 +0000 (18:47 +0300)
commit802e9b1b453506174c94f72c504fb4b83e85828e
tree996989d6513accd439ae95e2ff8ee8e9d5f922ee
parentcb949963570ad0dbe272109f0245ca21029e2e5c
Ignore more events in input-pending-p

* src/keyboard.c (readable_events)
(kbd_buffer_store_buffered_event): Use 'is_ignored_event' to
decide whether the input event is to be ignored.
(is_ignored_event): New function.
(syms_of_keyboard) <input-pending-p-filter-events>: New variable.
Patch from Aaron Jensen <aaronjensen@gmail.com>.
src/keyboard.c