Subject: gnus-highlight-selected-tree is broken (fix)
From: Pranshu Sharma <[email-masked]>
To: [email-masked]
Date: Wed, 15 Jan 2025 00:03:40 +1000
List-Id: <debbugs-submit.debbugs.gnu.org>

seems like buffer-live-p does not accept string buffer names anymore

diff --git a/lisp/gnus/gnus-salt.el b/lisp/gnus/gnus-salt.el
index 6514d8d4174..75daf7e7cfa 100644
--- a/lisp/gnus/gnus-salt.el
+++ b/lisp/gnus/gnus-salt.el
@@ -808,7 +808,7 @@ gnus-tree-perhaps-minimize
 
 (defun gnus-highlight-selected-tree (article)
   "Highlight the selected article in the tree."
-  (when (buffer-live-p gnus-tree-buffer)
+  (when (buffer-live-p (get-buffer gnus-tree-buffer))
     (let ((buf (current-buffer))
 	  region)
       (set-buffer gnus-tree-buffer)

-- 
Pranshu Sharma <https://p.bauherren.ovh>