From: Vida Gabor Date: Sun, 19 Feb 2012 23:55:16 +0000 (+0000) Subject: gnus-demon.el (gnus-demon-init): Don't multiply time twice. X-Git-Tag: emacs-pretest-24.0.94~106 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1c92ac7dc461dfdbc02ada535f6266703e960f4;p=emacs.git gnus-demon.el (gnus-demon-init): Don't multiply time twice. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index d2f2b1b4660..e7473c463a9 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2012-02-19 Vida Gábor (tiny change) + + * gnus-demon.el (gnus-demon-init): Don't multiply time twice. + Reported by Peter Münster. + 2012-02-18 Lars Ingebrigtsen * shr.el (shr-image-fetched): Make sure we really kill the right diff --git a/lisp/gnus/gnus-demon.el b/lisp/gnus/gnus-demon.el index c91c725658a..d0baf25d5d9 100644 --- a/lisp/gnus/gnus-demon.el +++ b/lisp/gnus/gnus-demon.el @@ -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)