diff options
author | Yoni Rabkin <yoni@rabkins.net> | 2021-04-29 12:53:15 -0400 |
---|---|---|
committer | Yoni Rabkin <yoni@rabkins.net> | 2021-04-29 12:53:15 -0400 |
commit | 3a8ba30d1fb8d94ab3c63aa678a0059cc8b48b2f (patch) | |
tree | be516b15779a7e0e2f1a9892c404bfad3399454d /emms-player-mpd.el | |
parent | 02915f7aa24d27d717ff4821a58f791cffcc174c (diff) |
*.el: Minor improvements and simplifications
* emms-playlist-limit.el (emms-playlist-limit--limit-playlist): Simplify.
* emms-playing-time.el (emms-playing-time-display): Simplify.
* emms-player-mpv.el (emms-player-mpv-ipc-proc)
(emms-player-mpv-ipc-connect-command, emms-player-mpv-ipc-id)
(emms-player-mpv-ipc-stop-command)
(emms-player-mpv-event-connect-hook)
(emms-player-mpv-ipc-conn-emacs-26.1-workaround): Fit docstrings with
80 columns.
* emms-player-mpd.el (emms-player-mpd-ensure-process): Simplify `if`
with identical branches.
* emms-browser.el (emms-browser-run-mode-hooks): Simplify and move it
out of `eval-and-compile`.
(emms-browser-sort-cadr, emms-browser-sort-car): Add `debug` spec.
patch by Stefan Monnier
Diffstat (limited to 'emms-player-mpd.el')
-rw-r--r-- | emms-player-mpd.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el index 7ae48dc..39f23d5 100644 --- a/emms-player-mpd.el +++ b/emms-player-mpd.el @@ -311,9 +311,7 @@ return at the end of a request.") #'emms-player-mpd-sentinel) (setq emms-player-mpd-queue (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) - (set-process-query-on-exit-flag emms-player-mpd-process nil)) + (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 |