aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/emms-player-mpv.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emms-player-mpv.el b/lisp/emms-player-mpv.el
index 55023af..b22aa25 100644
--- a/lisp/emms-player-mpv.el
+++ b/lisp/emms-player-mpv.el
@@ -311,8 +311,7 @@ Error is signaled if mpv binary fails to run."
which is distinct from 'start-command sent' and 'process is running' states.
Used to signal emms via `emms-player-started' and `emms-player-stopped' calls."
(let ((proc (or proc emms-player-mpv-proc)))
- (if proc (process-get proc 'mpv-playing)
- nil)))
+ (and proc (process-get proc 'mpv-playing))))
(defun emms-player-mpv-proc-playing (state &optional proc)
"Set process mpv-playing state flag for `emms-player-mpv-proc-playing-p'."