aboutsummaryrefslogtreecommitdiff
path: root/emms-playlist-mode.el
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2021-04-29 12:53:15 -0400
committerYoni Rabkin <yoni@rabkins.net>2021-04-29 12:53:15 -0400
commit3a8ba30d1fb8d94ab3c63aa678a0059cc8b48b2f (patch)
treebe516b15779a7e0e2f1a9892c404bfad3399454d /emms-playlist-mode.el
parent02915f7aa24d27d717ff4821a58f791cffcc174c (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-playlist-mode.el')
-rw-r--r--emms-playlist-mode.el2
1 files changed, 1 insertions, 1 deletions
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)