]> git.eshelyaron.com Git - emacs.git/commitdiff
gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
authorJulien Danjou <julien@danjou.info>
Fri, 3 Dec 2010 22:05:02 +0000 (17:05 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 3 Dec 2010 22:05:02 +0000 (17:05 -0500)
lisp/gnus/ChangeLog
lisp/gnus/gnus-demon.el

index 302a1c5e97d0a7d1ba222d9b2806a012ac262726..068ca8d0e084b7939c9468188d7efcdf07aa7fd0 100644 (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;
index 94a495258471f1695bc31ea0aa4b9f493162e95c..b33a673c354815b5f62ec18755510ebb1bee4b3f 100644 (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