From e1c92ac7dc461dfdbc02ada535f6266703e960f4 Mon Sep 17 00:00:00 2001 From: Vida Gabor Date: Sun, 19 Feb 2012 23:55:16 +0000 Subject: [PATCH] gnus-demon.el (gnus-demon-init): Don't multiply time twice. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/gnus-demon.el | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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) -- 2.39.2