Fix help-customize in describe-symbol buffers
* lisp/help-fns.el (describe-symbol): Protect help-mode--current-data from being modified inside the help-setup-xref call (bug#77510).
This commit is contained in:
parent
19913b1567
commit
f7e34d52dc
1 changed files with 2 additions and 1 deletions
|
@ -1967,7 +1967,8 @@ current buffer and the selected frame, respectively."
|
|||
(unless single
|
||||
;; Don't record the `describe-variable' item in the stack.
|
||||
(setq help-xref-stack-item nil)
|
||||
(help-setup-xref (list #'describe-symbol symbol) nil))
|
||||
(let ((help-mode--current-data help-mode--current-data))
|
||||
(help-setup-xref (list #'describe-symbol symbol) nil)))
|
||||
(goto-char (point-max))
|
||||
(help-xref--navigation-buttons)
|
||||
(goto-char (point-min))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue