[EMMS] Explicitly set track description function *after* setup

‘emms-all’ will set ‘emms-track-description-function’ on it’s own, not paying
respect to previous settings or customize.
This commit is contained in:
Daniel - 2018-11-03 16:56:42 +01:00
parent 219ca22b0f
commit a1678dc0b3
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 4 additions and 1 deletions

View File

@ -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 (its
;; 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)