1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(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.
This commit is contained in:
Andrew Innes 2000-08-30 12:39:15 +00:00
parent caccd8f284
commit 903c64e933

View file

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