From 8eccce9917a5f0d7f61de154c7ef9e5d48d2290a Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 25 Nov 2021 17:54:30 +1100 Subject: adding a gap when no-newline is non-nil so that horizontal arrangement works --- emms-playlist-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emms-playlist-mode.el b/emms-playlist-mode.el index a2aefca..f4de0dc 100644 --- a/emms-playlist-mode.el +++ b/emms-playlist-mode.el @@ -475,7 +475,8 @@ When NO-NEWLINE is non-nil, do not insert a newline after the track." 'face 'emms-playlist-track-face)) (when (emms-playlist-selected-track-at-p) (emms-playlist-mode-overlay-selected)) - (unless no-newline + (if no-newline + (insert " ") (insert "\n")))) (defun emms-playlist-mode-update-track-function () -- cgit v1.2.3