0

When I exit emacs while my music is playing using afplay -- music keeps playing.

What is the right way of stopping/killing afplay process?

Should I use exit hooks or is there emms built-in setting I can tinker?

1

I have come up with adding a kill emacs hook:

(add-hook 'kill-emacs-hook 'emms-stop)

And it solves the problem for me.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.