summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBarry O'Reilly <gundaetiapo@gmail.com>2013-10-18 00:27:34 -0400
committerBarry O'Reilly <gundaetiapo@gmail.com>2013-10-18 00:27:34 -0400
commitef566920352fea106b283bcfeba1e61f3969f541 (patch)
tree36744e23acb0c8efc1be773e79f90d11bf06bc39 /etc
parent29df8a0b10233b25319c1710753a08f2ffd5d310 (diff)
downloademacs-ef566920352fea106b283bcfeba1e61f3969f541.tar.gz
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
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 7c19ad9f87a..de13733f775 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -620,6 +620,9 @@ low-level libraries gfilenotify.c, inotify.c or w32notify.c.
* Incompatible Lisp Changes in Emacs 24.4
+** `(input-pending-p)' no longer runs other timers which are ready to
+run. The new optional CHECK-TIMERS param allows for the prior behavior.
+
** `defvar' and `defcustom' in a let-binding affect the "external" default.
** The syntax of ?» and ?« is now punctuation instead of matched parens.