]> code.delx.au - gnu-emacs/commitdiff
gnus-demon.el (gnus-demon-init): Don't multiply time twice.
authorVida Gabor <vidagabor@gmail.com>
Sun, 19 Feb 2012 23:55:16 +0000 (23:55 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sun, 19 Feb 2012 23:55:16 +0000 (23:55 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-demon.el

index d2f2b1b466087ed2bc6f175709ed733ae8e3e6c5..e7473c463a9efb2995b2d3e76bc4387a739dd1c4 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-19  Vida Gábor  <vidagabor@gmail.com>  (tiny change)
+
+       * gnus-demon.el (gnus-demon-init): Don't multiply time twice.
+       Reported by Peter Münster.
+
 2012-02-18  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * shr.el (shr-image-fetched): Make sure we really kill the right
index c91c725658ade96717c2fe48408c4b4f06e7012c..d0baf25d5d9682abdcab910b052a793b9659689a 100644 (file)
@@ -137,8 +137,7 @@ Emacs has been idle for IDLE `gnus-demon-timestep's."
              ;; (func nil number)
              ;; Only call when Emacs has been idle for `idle'
              ((and (null time) (numberp idle))
-              (run-with-idle-timer (* idle gnus-demon-timestep) t
-                                   'gnus-demon-run-callback func))
+              (run-with-idle-timer idle t 'gnus-demon-run-callback func))
              ;; (func number any)
              ;; Call every `time'
              ((eq time-type 'integer)