From 4ef0642974054b72e599aa4272e801cf634f2990 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Wed, 8 Dec 2010 22:16:36 +0000 Subject: [PATCH] gnus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, not t. XEmacs does not support that. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/gnus-demon.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 9ce574f0cc9..08c09e3ac64 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/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/gnus-demon.el b/lisp/gnus/gnus-demon.el index b33a673c354..ad40117b446 100644 --- a/lisp/gnus/gnus-demon.el +++ b/lisp/gnus/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.39.5