branch: externals/listen
commit f75b20411972d14e466b7e40ea8b5c2f596acc0b
Author: Adam Porter <[email protected]>
Commit: Adam Porter <[email protected]>
Fix: (listen-quit)
This might help with MPV's asynchronous support.
---
listen.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/listen.el b/listen.el
index db5cfc3fbd..0a1a2c5f2c 100755
--- a/listen.el
+++ b/listen.el
@@ -136,9 +136,9 @@ its current track will be the one that just finished
playing)."
Interactively, uses the default player."
(interactive
(list (listen-current-player)))
- (delete-process (listen-player-process player))
(when (eq player listen-player)
(setf listen-player nil))
+ (delete-process (listen-player-process player))
(listen-mode--update))
(defun listen-next (player)