From 0a3f8da6e1a56ada409cf1677ac40fcc75a8a33c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 8 Mar 2020 00:25:15 -0800 Subject: [PATCH] Simplify run-at-time * lisp/emacs-lisp/timer.el (run-at-time): Remove unnecessary test (Bug#39944). --- lisp/emacs-lisp/timer.el | 3 --- 1 file changed, 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) -- 2.39.2