Skip to content

Commit

Permalink
Fix sound playing issue when a pomodoro killed
Browse files Browse the repository at this point in the history
  • Loading branch information
cartoonist authored and felipelalli committed Mar 18, 2022
1 parent aa07c11 commit 3f5bcfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions org-pomodoro.el
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ This may send a notification, play a sound and start a pomodoro break."
This may send a notification, play a sound and adds log."
(org-pomodoro-reset)
(org-pomodoro-notify "Pomodoro killed." "One does not simply kill a pomodoro!")
(org-pomodoro-maybe-play-sound :killed)
(when (org-clocking-p)
(if org-pomodoro-keep-killed-pomodoro-time
(org-clock-out nil t)
Expand Down

0 comments on commit 3f5bcfb

Please sign in to comment.