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:
parent
423a8b7fd8
commit
b8ee7d667f
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue