|
@@ -152,6 +152,7 @@ the region 0:00:00."
|
|
(org-timer-secs-to-hms (or delta 0)))
|
|
(org-timer-secs-to-hms (or delta 0)))
|
|
(run-hooks 'org-timer-start-hook)))))
|
|
(run-hooks 'org-timer-start-hook)))))
|
|
|
|
|
|
|
|
+;;;###autoload
|
|
(defun org-timer-pause-or-continue (&optional stop)
|
|
(defun org-timer-pause-or-continue (&optional stop)
|
|
"Pause or continue the relative or countdown timer.
|
|
"Pause or continue the relative or countdown timer.
|
|
With prefix arg STOP, stop it entirely."
|
|
With prefix arg STOP, stop it entirely."
|
|
@@ -189,6 +190,7 @@ With prefix arg STOP, stop it entirely."
|
|
(org-timer-set-mode-line 'paused)
|
|
(org-timer-set-mode-line 'paused)
|
|
(message "Timer paused at %s" (org-timer-value-string)))))
|
|
(message "Timer paused at %s" (org-timer-value-string)))))
|
|
|
|
|
|
|
|
+;;;###autoload
|
|
(defun org-timer-stop ()
|
|
(defun org-timer-stop ()
|
|
"Stop the relative or countdown timer."
|
|
"Stop the relative or countdown timer."
|
|
(interactive)
|
|
(interactive)
|