diff options
author | Yuchen Pei <hi@ypei.me> | 2021-11-25 17:54:30 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2021-11-25 17:54:30 +1100 |
commit | 8eccce9917a5f0d7f61de154c7ef9e5d48d2290a (patch) | |
tree | 7281eb7664cca5f667816aa75a1baed06c50e743 | |
parent | fd37f9c452d615e42c2768a3a81a6700335f66d5 (diff) |
adding a gap when no-newline is non-nil so that horizontal arrangement works
-rw-r--r-- | emms-playlist-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
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 () |