Commit 4ef06429 authored by Robert Pluim's avatar Robert Pluim Committed by Katsumi Yamaoka
Browse files

gnus-demon.el (gnus-demon-init): Call run-with-timer with time as argument,...

gnus-demon.el (gnus-demon-init): Call run-with-timer with time as argument, not t. XEmacs does not support that.
parent 16498102
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
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment