summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-art.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-09-12 23:09:45 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-09-12 23:09:45 -0700
commit72eac303eabbb403eae650c9dd0c93851b0fec23 (patch)
tree480b2529cbc787c643be94f462ab4913216e1c1a /lisp/gnus/gnus-art.el
parentd59a1afb9acc881201223e7c573e94526b3cd3fc (diff)
downloademacs-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/gnus/gnus-art.el')
-rw-r--r--lisp/gnus/gnus-art.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index b9020a40b75..4dc004f04d4 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -4554,7 +4554,7 @@ commands:
(defun gnus-article-stop-animations ()
(dolist (timer (and (boundp 'timer-list)
timer-list))
- (when (eq (elt timer 5) 'image-animate-timeout)
+ (when (eq (timer--function timer) 'image-animate-timeout)
(cancel-timer timer))))
(defun gnus-stop-downloads ()