From bc65f742e65db892dd71f3ce37dc69154230a99a Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Wed, 8 Dec 2010 20:34:03 +0100 Subject: [PATCH] * gnus-demon.el (gnus-demon-init): Call run-with-timer with an integer parameter, since XEmacs doesn't accept t as a parameter. --- lisp/ChangeLog | 5 +++++ lisp/gnus-demon.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5f62e480a..3af38cad9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-12-08 Robert Pluim + + * gnus-demon.el (gnus-demon-init): Call run-with-timer with an integer + parameter, since XEmacs doesn't accept t as a parameter. + 2010-12-08 Andrew Cohen * nnir.el (nnir-retrieve-headers): Use rassq when comparing article diff --git a/lisp/gnus-demon.el b/lisp/gnus-demon.el index b33a673c3..ad40117b4 100644 --- a/lisp/gnus-demon.el +++ b/lisp/gnus-demon.el @@ -128,11 +128,11 @@ Emacs has been idle for IDLE `gnus-demon-timestep's." ;; (func number t) ;; Call when Emacs has been idle for `time' ((and (numberp time) (eq idle t)) - (run-with-timer t time 'gnus-demon-run-callback func time)) + (run-with-timer time time 'gnus-demon-run-callback func time)) ;; (func number number) ;; Call every `time' when Emacs has been idle for `idle' ((and (numberp time) (numberp idle)) - (run-with-timer t time 'gnus-demon-run-callback func idle)) + (run-with-timer time time 'gnus-demon-run-callback func idle)) ;; (func nil number) ;; Only call when Emacs has been idle for `idle' ((and (null time) (numberp idle)) -- 2.25.1