projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818333c
)
Fix bug with JIT stealth timers
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 7 Mar 2020 17:47:03 +0000
(09:47 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 7 Mar 2020 17:50:18 +0000
(09:50 -0800)
* lisp/emacs-lisp/timer.el (run-at-time): Don’t assume that Lisp
time values must be conses (Bug#39944).
lisp/emacs-lisp/timer.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/timer.el
b/lisp/emacs-lisp/timer.el
index 74a94957e7378c7774f73258af50923dd97496f3..9eb8feed0f1c52c4b49a7692d94cd9ae165c07f6 100644
(file)
--- a/
lisp/emacs-lisp/timer.el
+++ b/
lisp/emacs-lisp/timer.el
@@
-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)))