emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/emms 4a176508e0 2/3: * emms-mark.el: fix bug when setti


From: ELPA Syncer
Subject: [elpa] externals/emms 4a176508e0 2/3: * emms-mark.el: fix bug when setting `emms-playlist-default-major-mode' to `emms-mark-mode'
Date: Tue, 28 Mar 2023 16:58:26 -0400 (EDT)

branch: externals/emms
commit 4a176508e03c9eeb132f14767f717ba5fb6fa43f
Author: Yoni Rabkin <yrk@gnu.org>
Commit: Yoni Rabkin <yrk@gnu.org>

    * emms-mark.el: fix bug when setting `emms-playlist-default-major-mode' to 
`emms-mark-mode'
---
 emms-mark.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emms-mark.el b/emms-mark.el
index b640e12fcd..a32760bf77 100644
--- a/emms-mark.el
+++ b/emms-mark.el
@@ -260,9 +260,9 @@ this function collects the result of FUNC."
       nil
 
     ;; start emms-playlist-mode exactly once
-    (setq emms-playlist-buffer-p t)
     (unless (eq major-mode 'emms-playlist-mode)
       (emms-playlist-mode))
+    (setq emms-playlist-buffer-p t)
 
     ;; use inherited keymap
     (set-keymap-parent emms-mark-mode-map (current-local-map))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]