gnus-demon.el (gnus-demon-init): Don't multiply time twice.
authorVida Gabor <vidagabor@gmail.com>
Sun, 19 Feb 2012 23:54:02 +0000 (23:54 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sun, 19 Feb 2012 23:54:02 +0000 (23:54 +0000)
lisp/ChangeLog
lisp/gnus-demon.el

index 4e21742..6d59d5d 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 c91c725..d0baf25 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)