1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

Pass buffer as object in gnus-highlight-selected-tree

* lisp/gnus/gnus-salt.el (gnus-highlight-selected-tree): Correctly
pass buffer object instead of string.  (Bug#75557)
This commit is contained in:
Pranshu Sharma 2025-03-02 05:02:13 +01:00 committed by Stefan Kangas
parent 735eace97b
commit d6dd9dd066

View file

@ -808,7 +808,7 @@ it in the environment specified by BINDINGS."
(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)