[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/emms b7e4a4cdbd 1/2: * emms.el: switch to current playl
From: |
ELPA Syncer |
Subject: |
[elpa] externals/emms b7e4a4cdbd 1/2: * emms.el: switch to current playlist to see buffer-local variables |
Date: |
Thu, 21 Nov 2024 15:58:00 -0500 (EST) |
branch: externals/emms
commit b7e4a4cdbdb7e55300882d6c9a4f71048ec298d5
Author: Yoni Rabkin <yrk@gnu.org>
Commit: Yoni Rabkin <yrk@gnu.org>
* emms.el: switch to current playlist to see buffer-local variables
---
emms.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/emms.el b/emms.el
index de71ad4b93..01364ce834 100644
--- a/emms.el
+++ b/emms.el
@@ -1637,7 +1637,10 @@ This should only be done by the current player itself."
(run-hooks 'emms-player-stopped-hook)
(sleep-for emms-player-delay)
(run-hooks 'emms-player-finished-hook)
- (funcall emms-player-next-function)))
+ ;; switch to the current playlist to pick up the values of
+ ;; buffer-local variables
+ (with-current-emms-playlist
+ (funcall emms-player-next-function))))
(defun emms-player-pause ()
"Pause the current EMMS player."