Skip to content

Commit cef9582

Browse files
committed
Stop playing a sound after overtime
1 parent 3f5bcfb commit cef9582

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

org-pomodoro.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,9 @@ kill the current timer, this may be a break or a running pomodoro."
627627
(cond
628628
;; possibly break from overtime
629629
((and (org-pomodoro-active-p) (eq org-pomodoro-state :overtime))
630-
(org-pomodoro-finished))
630+
;; Do not play a sound after overtime
631+
(let ((org-pomodoro-finished-sound-p nil))
632+
(org-pomodoro-finished)))
631633
;; Maybe kill running pomodoro
632634
((org-pomodoro-active-p)
633635
(if (or (not org-pomodoro-ask-upon-killing)

0 commit comments

Comments
 (0)