diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-09-12 23:09:45 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-09-12 23:09:45 -0700 |
commit | 72eac303eabbb403eae650c9dd0c93851b0fec23 (patch) | |
tree | 480b2529cbc787c643be94f462ab4913216e1c1a /lisp/time.el | |
parent | d59a1afb9acc881201223e7c573e94526b3cd3fc (diff) | |
download | emacs-72eac303eabbb403eae650c9dd0c93851b0fec23.tar.gz |
Fix glitches caused by addition of psec to timers.
* etc/NEWS: Document timer format change.
* lisp/image.el (image-animate-timer):
* lisp/time.el (display-time-world-timer):
Use timer--function and timer--args rather than raw access to
timer vector.
* lisp/gnus/gnus-art.el (gnus-article-stop-animations):
Use timer--function rather than raw access to timer vector.
Fixes: debbugs:12430
Diffstat (limited to 'lisp/time.el')
-rw-r--r-- | lisp/time.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/time.el b/lisp/time.el index 8d43b565416..fe3cdbb57be 100644 --- a/lisp/time.el +++ b/lisp/time.el @@ -575,7 +575,8 @@ To turn off the world time display, go to that window and type `q'." (let ((list timer-list)) (while list (let ((elt (pop list))) - (when (equal (symbol-name (aref elt 5)) "display-time-world-timer") + (when (equal (symbol-name (timer--function elt)) + "display-time-world-timer") (cancel-timer elt))))))) ;;;###autoload |