summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-03-08 00:25:15 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2020-03-08 00:25:38 -0800
commit0a3f8da6e1a56ada409cf1677ac40fcc75a8a33c (patch)
treee6a7111dd16a49e25e3d6e084d5738f0bc01818c /lisp
parent4415534ef01309417e8f552eb4c075095603f2f3 (diff)
downloademacs-0a3f8da6e1a56ada409cf1677ac40fcc75a8a33c.tar.gz
emacs-0a3f8da6e1a56ada409cf1677ac40fcc75a8a33c.tar.bz2
emacs-0a3f8da6e1a56ada409cf1677ac40fcc75a8a33c.zip
Simplify run-at-time
* lisp/emacs-lisp/timer.el (run-at-time): Remove unnecessary test (Bug#39944).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/timer.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/timer.el b/lisp/emacs-lisp/timer.el
index 9eb8feed0f1..61fd05cbb80 100644
--- a/lisp/emacs-lisp/timer.el
+++ b/lisp/emacs-lisp/timer.el
@@ -378,9 +378,6 @@ This function returns a timer object which you can use in
(decoded-time-year now)
(decoded-time-zone now)))))))
- (or (time-equal-p time time)
- (error "Invalid time format"))
-
(let ((timer (timer-create)))
(timer-set-time timer time repeat)
(timer-set-function timer function args)