gnus-art.el (gnus-article-stop-animations): Use gnus-timer--function that is an alias...
[bpt/emacs.git] / lisp / gnus / gnus-art.el
index 4dc004f..7dcbd61 100644 (file)
@@ -4554,7 +4554,7 @@ commands:
 (defun gnus-article-stop-animations ()
   (dolist (timer (and (boundp 'timer-list)
                      timer-list))
-    (when (eq (timer--function timer) 'image-animate-timeout)
+    (when (eq (gnus-timer--function timer) 'image-animate-timeout)
       (cancel-timer timer))))
 
 (defun gnus-stop-downloads ()