Don't run timers in input-pending-p. Its new check-timers param
authorBarry O'Reilly <gundaetiapo@gmail.com>
Fri, 18 Oct 2013 04:27:34 +0000 (00:27 -0400)
committerBarry O'Reilly <gundaetiapo@gmail.com>
Fri, 18 Oct 2013 04:27:34 +0000 (00:27 -0400)
commitef566920352fea106b283bcfeba1e61f3969f541
tree36744e23acb0c8efc1be773e79f90d11bf06bc39
parent29df8a0b10233b25319c1710753a08f2ffd5d310
Don't run timers in input-pending-p.  Its new check-timers param
provides the prior behavior..
* src/keyboard.c (Finput_pending_p): Accept optional check-timers
param.
* lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
as before.
* test/automated/timer-tests.el: New file.  Tests that (sit-for 0)
allows another timer to run.

Fixes: debbugs:15045
etc/NEWS
lisp/ChangeLog
lisp/subr.el
src/ChangeLog
src/keyboard.c
test/ChangeLog
test/automated/timer-tests.el [new file with mode: 0644]