aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Danjou2010-12-03 17:05:02 -0500
committerChong Yidong2010-12-03 17:05:02 -0500
commit6ce4202f43d64c9c021b599f204d30c484586372 (patch)
tree7873fdeafa250c4bcd56d6c26e3387b335401639
parent903653532fd8935d4f07627890b9502618d5a432 (diff)
downloademacs-6ce4202f43d64c9c021b599f204d30c484586372.tar.gz
emacs-6ce4202f43d64c9c021b599f204d30c484586372.zip
gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
-rw-r--r--lisp/gnus/ChangeLog4
-rw-r--r--lisp/gnus/gnus-demon.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 302a1c5e97d..068ca8d0e08 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,7 @@
12010-12-03 Julien Danjou <julien@danjou.info>
2
3 * gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
4
12010-12-03 Katsumi Yamaoka <yamaoka@jpl.org> 52010-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2 6
3 * gnus-util.el (gnus-macroexpand-all): Don't modify argument; 7 * gnus-util.el (gnus-macroexpand-all): Don't modify argument;
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."
121 ;; If t, replace by 1 121 ;; If t, replace by 1
122 (time (cond ((eq time t) 122 (time (cond ((eq time t)
123 gnus-demon-timestep) 123 gnus-demon-timestep)
124 ((null time)) 124 ((null time) nil)
125 (t (* time gnus-demon-timestep)))) 125 (t (* time gnus-demon-timestep))))
126 (timer 126 (timer
127 (cond 127 (cond