1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00

Fix bug with JIT stealth timers

* lisp/emacs-lisp/timer.el (run-at-time): Don’t assume that Lisp
time values must be conses (Bug#39944).
This commit is contained in:
Paul Eggert 2020-03-07 09:47:03 -08:00
parent 818333c85a
commit 363d927086

View file

@ -378,7 +378,7 @@ This function returns a timer object which you can use in
(decoded-time-year now)
(decoded-time-zone now)))))))
(or (consp time)
(or (time-equal-p time time)
(error "Invalid time format"))
(let ((timer (timer-create)))