From 0b0bdd12eb97797d3c481de70871d64f42672a58 Mon Sep 17 00:00:00 2001 From: Yoni Rabkin Date: Sun, 26 Feb 2017 17:29:51 -0500 Subject: * lisp/emms-player-mpd.el: Remove obsolete Replace the obsolete function with its up-to-date equivalent. --- lisp/emms-player-mpd.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lisp') 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 -- cgit v1.2.3