]> code.delx.au - gnu-emacs/commitdiff
gnus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, not t...
authorRobert Pluim <rpluim@gmail.com>
Wed, 8 Dec 2010 22:16:36 +0000 (22:16 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 8 Dec 2010 22:16:36 +0000 (22:16 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-demon.el

index 9ce574f0cc93c12afed768c285e340ce58be687e..08c09e3ac646e030df4bae8b1145c1cc6e5e59be 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 b33a673c354815b5f62ec18755510ebb1bee4b3f..ad40117b4469e8b0d841604d5d5b96d64c8e21d2 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))