diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-09-13 09:23:06 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-09-13 09:23:06 -0700 |
commit | c18e885bdd2607ec1784c3e1585e581459408932 (patch) | |
tree | aeacf95b156f43cd91086bb5152086915893da8d /etc | |
parent | d607d303028dca3d7d6ba21b4013f08dd2b0a1d6 (diff) | |
download | emacs-c18e885bdd2607ec1784c3e1585e581459408932.tar.gz |
Use a more backwards-compatible timer format.
* etc/NEWS: Document it.
* lisp/emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
being right after USECS, as that better supports old code that
inadvisedly looked directly at the timer vector.
* src/keyboard.c (decode_timer): Get PSECS from the 8th (origin-0)
vector element, not from the 4th, since PSECS is now at the end.
(Fcurrent_idle_time): Doc fix.
Fixes: debbugs:12430
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ChangeLog | 5 | ||||
-rw-r--r-- | etc/NEWS | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 26e9ada74da..66c229eaf78 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,8 @@ +2012-09-13 Paul Eggert <eggert@cs.ucla.edu> + + Use a more backwards-compatible timer format (Bug#12430). + * NEWS: Document it, plus fix a typo. + 2012-09-13 Jan Djärv <jan.h.d@swipnet.se> * NEWS (--with-x-toolkit): Mention that Gtk+ 3 is now default. @@ -110,7 +110,7 @@ file-attributes and format-time-string, have been changed accordingly. Old-format time stamps are still accepted. ** The format of timers in timer-list and timer-idle-list is now -[HIGH-SECONDS LOW-SECONDS USECS PSECS REPEAT-DELAY FUNCTION ARGS IDLE-DELAY]. +[TRIGGERED-P HI-SECS LO-SECS USECS REPEAT-DELAY FUNCTION ARGS IDLE-DELAY PSECS]. The PSECS slot is new, and uses picosecond resolution. It can be accessed via the new timer--psecs accessor. |