From a1678dc0b3053fe4141ba0fbd72f33d480e6faea Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 3 Nov 2018 16:56:42 +0100 Subject: [PATCH] [EMMS] Explicitly set track description function *after* setup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ‘emms-all’ will set ‘emms-track-description-function’ on it’s own, not paying respect to previous settings or customize. --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 71e0e27..63251ce 100644 --- a/init.el +++ b/init.el @@ -1608,12 +1608,15 @@ are assumed to be of the form *.crt." :init (setq emms-source-file-default-directory "~/Documents/media/audio/" emms-player-list '(emms-player-mplayer emms-player-mplayer-playlist) emms-show-format "NP: %s" - emms-track-description-function 'db/emms-track-description emms-stream-default-action "play") :config (progn (emms-all) (emms-default-players) + ;; Reset track description function to personal configuration (it’s + ;; overwritten by `emms-all’ + (setq emms-track-description-function 'db/emms-track-description) + (advice-add 'emms-tag-editor-submit :after (lambda (&rest r) (ignore r)