Commit 903c64e9 authored by Andrew Innes's avatar Andrew Innes

(run-with-idle-timer): Undo last change, so that timer

is not activated immediately if Emacs is already idle.  Some
existing code relies on this behaviour.
parent caccd8f2
......@@ -387,7 +387,7 @@ This function returns a timer object which you can use in `cancel-timer'."
(let ((timer (timer-create)))
(timer-set-function timer function args)
(timer-set-idle-time timer secs repeat)
(timer-activate-when-idle timer t)
(timer-activate-when-idle timer)
timer))
(defun with-timeout-handler (tag)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment