1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-10 08:52:40 -07:00

Initialize help-window-old-frame again

Its sole initialization seems to have been accidentally dropped as
part of bug#25979.

* lisp/help.el (help--window-setup): Set help-window-old-frame
before showing the help buffer (bug#80505).
This commit is contained in:
Basil L. Contovounesios 2026-03-02 22:11:51 +01:00
parent 423a8b7fd8
commit b8ee7d667f

View file

@ -2231,6 +2231,7 @@ The `temp-buffer-window-setup-hook' hook is called."
`(help--window-setup ,buffer-or-name (lambda () ,@body)))
(defun help--window-setup (buffer callback)
(setq help-window-old-frame (selected-frame))
;; Make `help-window-point-marker' point nowhere. The only place
;; where this should be set to a buffer position is within BODY.
(set-marker help-window-point-marker nil)