* gnus-demon.el (gnus-demon-init): Call run-with-timer with an integer
authorRobert Pluim <rpluim@gmail.com>
Wed, 8 Dec 2010 19:34:03 +0000 (20:34 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 8 Dec 2010 19:34:03 +0000 (20:34 +0100)
parameter, since XEmacs doesn't accept t as a parameter.

lisp/ChangeLog
lisp/gnus-demon.el

index 5f62e48..3af38ca 100644 (file)
@@ -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
index b33a673..ad40117 100644 (file)
@@ -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))