aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2017-02-26 17:29:51 -0500
committerYoni Rabkin <yoni@rabkins.net>2017-02-26 17:29:51 -0500
commit0b0bdd12eb97797d3c481de70871d64f42672a58 (patch)
treed96a4caddda11a68a65f1c309fc224ccf27dfcba /lisp
parentc3d98fc234cf7ec751c78a63a467449ccfd74376 (diff)
* lisp/emms-player-mpd.el: Remove obsolete
Replace the obsolete function with its up-to-date equivalent.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emms-player-mpd.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/emms-player-mpd.el b/lisp/emms-player-mpd.el
index 4834244..fdc3394 100644
--- a/lisp/emms-player-mpd.el
+++ b/lisp/emms-player-mpd.el
@@ -302,10 +302,6 @@ return at the end of a request.")
(when emms-player-mpd-verbose
(message "Other MusicPD status change: %s, %s" status event))))))
-;; 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
@@ -322,7 +318,7 @@ return at the end of a request.")
(tq-create emms-player-mpd-process))
(if (fboundp 'set-process-query-on-exit-flag)
(set-process-query-on-exit-flag emms-player-mpd-process nil)
- (process-kill-without-query emms-player-mpd-process))
+ (set-process-query-on-exit-flag emms-player-mpd-process nil))
;; send password
(when (stringp emms-player-mpd-server-password)
(tq-enqueue emms-player-mpd-queue