summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-demon.el
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2010-12-03 11:52:43 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2010-12-03 11:52:43 +0000
commit19b9c467ea2ef3838f3bf2231d21d999db67fe59 (patch)
tree97d4b335d26c2bc81cd576de9edd59efc7910a64 /lisp/gnus/gnus-demon.el
parent3e972d981f033b0197cf2c9026d0edea451a2daa (diff)
downloademacs-19b9c467ea2ef3838f3bf2231d21d999db67fe59.tar.gz
gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
Diffstat (limited to 'lisp/gnus/gnus-demon.el')
-rw-r--r--lisp/gnus/gnus-demon.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-demon.el b/lisp/gnus/gnus-demon.el
index 94a49525847..b33a673c354 100644
--- a/lisp/gnus/gnus-demon.el
+++ b/lisp/gnus/gnus-demon.el
@@ -121,7 +121,7 @@ Emacs has been idle for IDLE `gnus-demon-timestep's."
;; If t, replace by 1
(time (cond ((eq time t)
gnus-demon-timestep)
- ((null time))
+ ((null time) nil)
(t (* time gnus-demon-timestep))))
(timer
(cond