aboutsummaryrefslogtreecommitdiff
path: root/emms-player-mpd.el
diff options
context:
space:
mode:
Diffstat (limited to 'emms-player-mpd.el')
-rw-r--r--emms-player-mpd.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el
index a15cb02..2c687fa 100644
--- a/emms-player-mpd.el
+++ b/emms-player-mpd.el
@@ -322,6 +322,10 @@ return at the end of a request.")
(when emms-player-mpd-verbose
(message "Other MusicPD status change: %s" status))))))
+;; Ignore a useless byte-compile warning
+(eval-when-compile
+ (put 'process-kill-without-query 'byte-compile nil))
+
(defun emms-player-mpd-ensure-process ()
"Make sure that a MusicPD process is currently active."
(unless (and emms-player-mpd-process