From 3a8ba30d1fb8d94ab3c63aa678a0059cc8b48b2f Mon Sep 17 00:00:00 2001 From: Yoni Rabkin Date: Thu, 29 Apr 2021 12:53:15 -0400 Subject: *.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 --- emms-playlist-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emms-playlist-mode.el') diff --git a/emms-playlist-mode.el b/emms-playlist-mode.el index 2815a56..a2aefca 100644 --- a/emms-playlist-mode.el +++ b/emms-playlist-mode.el @@ -581,7 +581,7 @@ WINDOW-WIDTH should be a positive integer." (setq buffer-undo-list nil)) ;;;###autoload -(defun emms-playlist-mode () +(defun emms-playlist-mode () ;FIXME: Use `define-derived-mode'. "A major mode for Emms playlists. \\{emms-playlist-mode-map}" (interactive) -- cgit v1.2.3