gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.

This commit is contained in:
Julien Danjou 2010-12-03 17:05:02 -05:00 committed by Chong Yidong
parent 903653532f
commit 6ce4202f43
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2010-12-03 Julien Danjou <julien@danjou.info>
* gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
2010-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-util.el (gnus-macroexpand-all): Don't modify argument;

View file

@ -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