From e7f64ee9e419764199691568b7007a3777afa4bc Mon Sep 17 00:00:00 2001 From: Sebastien Le Maguer Date: Tue, 15 Feb 2022 12:56:02 +0000 Subject: [PATCH] Fix bug "emms-playlist-ensure-playlist-buffer: Not an EMMS playlist buffer" --- elfeed-show.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elfeed-show.el b/elfeed-show.el index 4915cae..f712e6e 100644 --- a/elfeed-show.el +++ b/elfeed-show.el @@ -440,8 +440,9 @@ offer to save a range of enclosures." Prompts for ENCLOSURE-INDEX when called interactively." (interactive (list (elfeed--enclosure-maybe-prompt-index elfeed-show-entry))) (elfeed-show-add-enclosure-to-playlist enclosure-index) + (require 'emms) ;; optional (with-no-warnings - (with-current-emms-playlist + (with-current-buffer emms-playlist-buffer (save-excursion (emms-playlist-last) (emms-playlist-mode-play-current-track)))))