Emacs: Reset now-playing when stopping MER
This commit is contained in:
parent
0195a2c07c
commit
b87a961130
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,8 @@
|
|||
(defun metal-express-radio-stop ()
|
||||
"Stop listening to Metal Express Radio."
|
||||
(interactive)
|
||||
(kill-process (get-buffer-process "*Metal Express Radio*")))
|
||||
(kill-process (get-buffer-process "*Metal Express Radio*"))
|
||||
(setq metal-express-radio-currently-playing nil))
|
||||
|
||||
(add-hook 'metal-express-radio-song-changed-hook
|
||||
'metal-express-radio-echo-currently-playing)
|
||||
|
|
Loading…
Reference in a new issue