emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102613: gnus-demon.el (gnus-demon-in


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102613: gnus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, not t. XEmacs does not support that.
Date: Wed, 08 Dec 2010 22:16:36 +0000
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102613
author: Robert Pluim <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Wed 2010-12-08 22:16:36 +0000
message:
  gnus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, 
not t. XEmacs does not support that.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/gnus-demon.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2010-12-08 14:41:37 +0000
+++ b/lisp/gnus/ChangeLog       2010-12-08 22:16:36 +0000
@@ -1,3 +1,8 @@
+2010-12-08  Robert Pluim  <address@hidden>
+
+       * 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  <address@hidden>
 
        * nnir.el (nnir-retrieve-headers): Use rassq when comparing article

=== modified file 'lisp/gnus/gnus-demon.el'
--- a/lisp/gnus/gnus-demon.el   2010-12-03 22:05:02 +0000
+++ b/lisp/gnus/gnus-demon.el   2010-12-08 22:16:36 +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))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]