Browse 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 11 years ago
parent
commit
0997778dd1
1 changed files with 2 additions and 1 deletions
  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"))