1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-07 16:10:46 -08:00

; Fix clean up of local variables in Help buffers

* lisp/help-mode.el (help-setup-xref): Kill local values of
'xref-backend-functions' and
'semantic-symref-filepattern-alist' regardless of
'outline-minor-mode'.
This commit is contained in:
Eshel Yaron 2024-10-05 08:55:26 +02:00
parent 069ecc9c4c
commit 9f54f24e94
No known key found for this signature in database
GPG key ID: EF3EE9CA35D78618

View file

@ -518,9 +518,9 @@ restore it properly when going back."
outline-minor-mode-highlight
outline-minor-mode-use-buttons
outline-default-state
outline-default-rules
xref-backend-functions
semantic-symref-filepattern-alist)))
outline-default-rules)))
(kill-local-variable 'xref-backend-functions)
(kill-local-variable 'semantic-symref-filepattern-alist)
(when help-xref-stack-item
(push (cons (point) help-xref-stack-item) help-xref-stack)
(setq help-xref-forward-stack nil))