changeset 111817:11c12bf13038

gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 03 Dec 2010 17:05:02 -0500
parents e567154bfaa7
children 6da5e88812e5
files lisp/gnus/ChangeLog lisp/gnus/gnus-demon.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Fri Dec 03 17:01:43 2010 -0500
+++ b/lisp/gnus/ChangeLog	Fri Dec 03 17:05:02 2010 -0500
@@ -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;
--- a/lisp/gnus/gnus-demon.el	Fri Dec 03 17:01:43 2010 -0500
+++ b/lisp/gnus/gnus-demon.el	Fri Dec 03 17:05:02 2010 -0500
@@ -121,7 +121,7 @@
            ;; 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