2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * dgnushack.el: Make the timer warning go away on XEmacs.
+
* gnus-art.el (gnus-article-stop-animations): New function to stop any
animations going on at article exit time.
(defalias 'replace-dehighlight 'ignore)
(defalias 'replace-highlight 'ignore)
(defalias 'gnutls-available-p 'ignore)
+ (defvar timer-list nil)
(defalias 'w3-coding-system-for-mime-charset 'ignore)))
(defun dgnushack-emacs-compile-defcustom-p ()
(current-buffer)))))
(defun gnus-article-stop-animations ()
- (dolist (timer timer-list)
+ (dolist (timer (and (boundp 'timer-list)
+ timer-list))
(when (eq (aref timer 5) 'image-animate-timeout)
(cancel-timer timer))))