summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-02-02 19:45:55 +0000
committerRichard M. Stallman <rms@gnu.org>1996-02-02 19:45:55 +0000
commitc853e4acbf4dce79e36eb5499356e2ccfedf45bc (patch)
tree77ecdeed5f3c35c7b7fe11853fc5b8f82c05d563
parent9799d33eb25a963aa9c6dfac3a01593c8484eb4e (diff)
downloademacs-c853e4acbf4dce79e36eb5499356e2ccfedf45bc.tar.gz
(run-with-timer): Set repetition interval.
-rw-r--r--lisp/timer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/timer.el b/lisp/timer.el
index e29ee58a211..94b681abdf0 100644
--- a/lisp/timer.el
+++ b/lisp/timer.el
@@ -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)