summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-04-04 16:35:55 +0000
committerRichard M. Stallman <rms@gnu.org>1996-04-04 16:35:55 +0000
commitac60d50df741890181d583774c0944b20a6bec8d (patch)
tree9ba027e3517237fdd1f56b731c66416e7ce13281 /lisp
parenteef3a68020b63418ba8a07be94ac6b8d536033e9 (diff)
downloademacs-ac60d50df741890181d583774c0944b20a6bec8d.tar.gz
(run-at-time): Allow floating REPEAT values.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/timer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/timer.el b/lisp/timer.el
index ebf52a85790..1761ecc8759 100644
--- a/lisp/timer.el
+++ b/lisp/timer.el
@@ -286,7 +286,7 @@ This function returns a timer object which you can use in `cancel-timer'."
(error "Invalid time format"))
(or (null repeat)
- (natnump repeat)
+ (numberp repeat)
(error "Invalid repetition interval"))
(let ((timer (timer-create)))