gnus-demon.el (gnus-demon-init): Don't multiply time twice.

This commit is contained in:
Vida Gabor 2012-02-19 23:55:16 +00:00 committed by Katsumi Yamaoka
parent 0fd40f8951
commit e1c92ac7dc
2 changed files with 6 additions and 2 deletions

View 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

View 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)