]> git.eshelyaron.com Git - emacs.git/commitdiff
(run-with-timer): Set repetition interval.
authorRichard M. Stallman <rms@gnu.org>
Fri, 2 Feb 1996 19:45:55 +0000 (19:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 2 Feb 1996 19:45:55 +0000 (19:45 +0000)
lisp/timer.el

index e29ee58a2111e332700268c755fbc57cc2cab3eb..94b681abdf0b910af1f0aae75e827bf3cbd8bcaf 100644 (file)
@@ -236,7 +236,7 @@ This function returns a timer object which you can use in `cancel-timer'."
       (error "Invalid repetition interval"))
 
   (let ((timer (timer-create)))
-    (timer-set-time timer (current-time))
+    (timer-set-time timer (current-time) repeat)
     (timer-inc-time timer secs)
     (timer-set-function timer function args)
     (timer-activate timer)