changeset 111855:c587007a09f2

gnus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, not t. XEmacs does not support that.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Wed, 08 Dec 2010 22:16:36 +0000
parents 1d5b34014445
children 833dc58a519e
files lisp/gnus/ChangeLog lisp/gnus/gnus-demon.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Wed Dec 08 17:25:11 2010 -0200
+++ b/lisp/gnus/ChangeLog	Wed Dec 08 22:16:36 2010 +0000
@@ -1,3 +1,8 @@
+2010-12-08  Robert Pluim  <rpluim@gmail.com>
+
+	* 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  <cohen@andy.bu.edu>
 
 	* nnir.el (nnir-retrieve-headers): Use rassq when comparing article
--- a/lisp/gnus/gnus-demon.el	Wed Dec 08 17:25:11 2010 -0200
+++ b/lisp/gnus/gnus-demon.el	Wed Dec 08 22:16:36 2010 +0000
@@ -128,11 +128,11 @@
              ;; (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))