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.
This commit is contained in:
Bastien Guerry 2014-03-14 11:57:15 +01:00
parent 49a9c2b213
commit 0997778dd1
1 changed files with 2 additions and 1 deletions

View File

@ -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"))