Explorar el Código

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 hace 11 años
padre
commit
0997778dd1
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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"))