Parcourir la source

org-timer.el (org-timer-stop): Set `org-timer-current-timer' to nil

* org-timer.el (org-timer-stop): Set `org-timer-current-timer'
to nil.
Bastien Guerry il y a 11 ans
Parent
commit
0997778dd1
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      lisp/org-timer.el

+ 2 - 1
lisp/org-timer.el

@@ -161,7 +161,8 @@ With prefix arg STOP, stop it entirely."
   (interactive)
   (run-hooks 'org-timer-stop-hook)
   (setq org-timer-start-time nil
-	org-timer-pause-time nil)
+	org-timer-pause-time nil
+	org-timer-current-timer nil)
   (org-timer-set-mode-line 'off)
   (message "Timer stopped"))