diff options
| author | Eshel Yaron | 2024-10-05 08:55:26 +0200 |
|---|---|---|
| committer | Eshel Yaron | 2024-10-05 08:55:26 +0200 |
| commit | 9f54f24e94d039331b982012bd66e960cfc764ff (patch) | |
| tree | 4cc0751b0a0c618e8702fc9133c15b0036fc9189 | |
| parent | 069ecc9c4c3709246a6ff50d09af418444d427c3 (diff) | |
| download | emacs-9f54f24e94d039331b982012bd66e960cfc764ff.tar.gz emacs-9f54f24e94d039331b982012bd66e960cfc764ff.zip | |
; 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'.
| -rw-r--r-- | lisp/help-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index b6757fcdbf1..7bb69a9389f 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el | |||
| @@ -518,9 +518,9 @@ restore it properly when going back." | |||
| 518 | outline-minor-mode-highlight | 518 | outline-minor-mode-highlight |
| 519 | outline-minor-mode-use-buttons | 519 | outline-minor-mode-use-buttons |
| 520 | outline-default-state | 520 | outline-default-state |
| 521 | outline-default-rules | 521 | outline-default-rules))) |
| 522 | xref-backend-functions | 522 | (kill-local-variable 'xref-backend-functions) |
| 523 | semantic-symref-filepattern-alist))) | 523 | (kill-local-variable 'semantic-symref-filepattern-alist) |
| 524 | (when help-xref-stack-item | 524 | (when help-xref-stack-item |
| 525 | (push (cons (point) help-xref-stack-item) help-xref-stack) | 525 | (push (cons (point) help-xref-stack-item) help-xref-stack) |
| 526 | (setq help-xref-forward-stack nil)) | 526 | (setq help-xref-forward-stack nil)) |