(run-at-time): Allow floating REPEAT values.
authorRichard M. Stallman <rms@gnu.org>
Thu, 4 Apr 1996 16:35:55 +0000 (16:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 4 Apr 1996 16:35:55 +0000 (16:35 +0000)
lisp/timer.el

index ebf52a8..1761ecc 100644 (file)
@@ -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)))