branch: externals/emms commit c6452dda96ad1c0deffb00c5cf70bd3d2e9a5f01 Author: Erica Lina <erical...@proton.me> Commit: Erica Lina <erical...@proton.me>
Fix return value of the rewritten make-name. --- emms-browser.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/emms-browser.el b/emms-browser.el index 158d7a7791..ed8f0615eb 100644 --- a/emms-browser.el +++ b/emms-browser.el @@ -802,10 +802,12 @@ artist1 -> album1 -> *track* 1.." artist artist)))) - (concat artist " - " title)) + ;; return a title or the car of entry + (if (and artist title) + (concat artist " - " title) + (car entry))) (car entry))) - (defun emms-browser-track-number (track) "Return a string representation of a track number. The string will end in a space. If no track number is available,