소스 검색

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 년 전
부모
커밋
0997778dd1
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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"))