mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 21:37:34 +00:00
gnus-demon.el (gnus-demon-init): Don't multiply time twice.
This commit is contained in:
parent
0fd40f8951
commit
e1c92ac7dc
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue