diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-08-05 10:38:59 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-08-05 10:38:59 -0400 |
commit | eb7fe81e6db8d630521098a728713e10c9d59c74 (patch) | |
tree | d202375c87ccf5869afda0e368ca26bb90f2a39c /lisp/emacs-lisp/check-declare.el | |
parent | df263dd7586436b06262e32aa3614e11ed3a6182 (diff) | |
download | emacs-eb7fe81e6db8d630521098a728713e10c9d59c74.tar.gz emacs-eb7fe81e6db8d630521098a728713e10c9d59c74.tar.bz2 emacs-eb7fe81e6db8d630521098a728713e10c9d59c74.zip |
timer.el: Avoid repeated timers
https://mail.gnu.org/archive/html/emacs-devel/2022-07/msg01127.html
points out that end-users can get bitten by this, accidentally
calling `timer-activate` on an already activated timer.
* lisp/emacs-lisp/timer.el (timer--activate): Signal an error if we try
to re-add a timer that's already on the timer-list.
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
0 files changed, 0 insertions, 0 deletions