]> git.eshelyaron.com Git - emacs.git/commitdiff
(run-with-idle-timer): Undo last change, so that timer
authorAndrew Innes <andrewi@gnu.org>
Wed, 30 Aug 2000 12:39:15 +0000 (12:39 +0000)
committerAndrew Innes <andrewi@gnu.org>
Wed, 30 Aug 2000 12:39:15 +0000 (12:39 +0000)
is not activated immediately if Emacs is already idle.  Some
existing code relies on this behaviour.

lisp/timer.el

index e91fd64ab2ff8b062dfa0bd0345cb293375494b7..e860f843095e0d85d743db14c95e8a4f136155de 100644 (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))
 \f
 (defun with-timeout-handler (tag)