aboutsummaryrefslogtreecommitdiff
path: root/chime.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-04 13:27:30 -0500
committerCraig Jennings <c@cjennings.net>2026-04-04 13:27:30 -0500
commit6d133a26f905cf38595599eb3271563911762e2b (patch)
tree07e0e2bc377e631aea875f80ee513ac0f52cb210 /chime.el
parent39989d8b826a03e304e40032aecc33de24f4227e (diff)
downloadchime-6d133a26f905cf38595599eb3271563911762e2b.tar.gz
chime-6d133a26f905cf38595599eb3271563911762e2b.zip
Nil chime--timer after cancellation in chime--stop
The timer variable was left pointing at a cancelled timer object. Now set to nil so state accurately reflects no active timer.
Diffstat (limited to 'chime.el')
-rw-r--r--chime.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/chime.el b/chime.el
index 8b4ee74..c75bace 100644
--- a/chime.el
+++ b/chime.el
@@ -1689,6 +1689,7 @@ When called programmatically, returns structured validation results."
(defun chime--stop ()
"Stop the notification timer and cancel any in-progress check."
(-some-> chime--timer (cancel-timer))
+ (setq chime--timer nil)
(when chime--process
(interrupt-process chime--process)
(setq chime--process nil))