diff options
author | bd <bdunahu@operationnull.com> | 2024-07-21 22:16:59 -0600 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2024-07-21 22:16:59 -0600 |
commit | 21f777d137bb532a67902946b1677cd3fc177db5 (patch) | |
tree | 294299df25d34c6ded4f415310e5a87b32a43e4f /.config/emacs/modules/bd--emms.el | |
parent | 6146878603c138fd06d7fc85f6ad4ea8b075c028 (diff) |
Revert to previous window-switching method
Diffstat (limited to '.config/emacs/modules/bd--emms.el')
-rw-r--r-- | .config/emacs/modules/bd--emms.el | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/.config/emacs/modules/bd--emms.el b/.config/emacs/modules/bd--emms.el index c2a9a8e..f12733c 100644 --- a/.config/emacs/modules/bd--emms.el +++ b/.config/emacs/modules/bd--emms.el @@ -29,16 +29,18 @@ playback." (message "The Ainur cannot hear you...")))) (emms-playing-time-disable-display) (setopt emms-track-description-function - '(lambda (track) - (let ((artist (emms-track-get track 'info-artist)) - (title (emms-track-get track 'info-title))) + '(lambda (track) + (let ((artist (emms-track-get track 'info-artist)) + (title (emms-track-get track 'info-title))) (cond - ((and artist title) - (concat artist " - " title)) - (title - title) - (t - (emms-track-simple-description track)))))) + ((and artist title) + (concat artist " - " title)) + (title + title) + (t + (emms-track-simple-description track)))))) + ;; "emms-playlist-mode-bury-buffer" plays poorly with shackle + (keymap-set emms-playlist-mode-map "q" #'quit-window) :custom ;; make sure mpd is configured similarly (emms-player-mpd-server-name "localhost") |