Skip to content

Commit

Permalink
Stop playing a sound after overtime
Browse files Browse the repository at this point in the history
  • Loading branch information
mssdvd committed Feb 7, 2023
1 parent 3f5bcfb commit 2904457
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion org-pomodoro.el
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,9 @@ kill the current timer, this may be a break or a running pomodoro."
(cond
;; possibly break from overtime
((and (org-pomodoro-active-p) (eq org-pomodoro-state :overtime))
(org-pomodoro-finished))
;; Do not play a sound after overtime
(let (org-pomodoro-finished-sound-p)
(org-pomodoro-finished)))
;; Maybe kill running pomodoro
((org-pomodoro-active-p)
(if (or (not org-pomodoro-ask-upon-killing)
Expand Down

0 comments on commit 2904457

Please sign in to comment.