aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2019-06-28 14:03:58 +0200
committerMichael Albinus2019-06-28 14:03:58 +0200
commit9fec778c072d7f6869dfc035243ed285bb0ed15a (patch)
treef68ab048916848e3dd13d80da768c63bc2bd2766
parent24a329608ddcdc8921d709bad65ddeed451d9a8e (diff)
downloademacs-9fec778c072d7f6869dfc035243ed285bb0ed15a.tar.gz
emacs-9fec778c072d7f6869dfc035243ed285bb0ed15a.zip
* lisp/gnus/gnus-art.el (gnus-article-stop-animations):
Use `cancel-function-timers'.
-rw-r--r--lisp/gnus/gnus-art.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index d826faca5bd..601ea00810d 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -4559,10 +4559,7 @@ commands:
4559 (current-buffer)))))) 4559 (current-buffer))))))
4560 4560
4561(defun gnus-article-stop-animations () 4561(defun gnus-article-stop-animations ()
4562 (dolist (timer (and (boundp 'timer-list) 4562 (cancel-function-timers 'image-animate-timeout))
4563 timer-list))
4564 (when (eq (timer--function timer) 'image-animate-timeout)
4565 (cancel-timer timer))))
4566 4563
4567(defun gnus-stop-downloads () 4564(defun gnus-stop-downloads ()
4568 (when (boundp 'url-queue) 4565 (when (boundp 'url-queue)