aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/timer.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-04-04 16:35:55 +0000
committerRichard M. Stallman <[email protected]>1996-04-04 16:35:55 +0000
commit4b5406e4cbcd86ce732bb3277b3e29fd6fe13851 (patch)
tree995d3ab153521c341e4c49ea3bd6c94e5c380604 /lisp/timer.el
parent9e32719fbc8cb781b87d6a6603dfe40bd1aa06d7 (diff)
(run-at-time): Allow floating REPEAT values.
Diffstat (limited to 'lisp/timer.el')
-rw-r--r--lisp/timer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/timer.el b/lisp/timer.el
index ebf52a8579..1761ecc875 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)))