]> git.eshelyaron.com Git - emacs.git/commit
Have 'while-no-input-ignore-events' handle idle timers too (Bug#49997)
authorMartin Rudalics <rudalics@gmx.at>
Tue, 12 Oct 2021 07:53:57 +0000 (09:53 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 12 Oct 2021 07:53:57 +0000 (09:53 +0200)
commit7865bd6782dacf506de8f69064f018de444da27f
tree22560926e30a2a8f2541226dc4b9c7116b9b76f4
parent7e185bc9bae85ac3b50f9b7bd4b3c33bb8a016a8
Have 'while-no-input-ignore-events' handle idle timers too (Bug#49997)

* src/keyboard.c (read_char): Use Vwhile_no_input_ignore_events to
check which idle timers should be resumed (Bug#49997).
(init_while_no_input_ignore_events): New function to
initialize Vwhile_no_input_ignore_events.
(Vwhile_no_input_ignore_events): Say in doc-string that events in
this list do not stop idle timers.
* lisp/subr.el (while-no-input): Remove initialization of
'while-no-input-ignore-events'; do that in keyboard.c now.
lisp/subr.el
src/keyboard.c