mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(print-help-return-message): When
display-buffer-reuse-frames is set, let the help window been quit, instead of deleting it, which might delete a reused frame.
This commit is contained in:
parent
07ca56eb35
commit
f3ad2fc8d0
1 changed files with 4 additions and 0 deletions
|
|
@ -274,6 +274,10 @@ If FUNCTION is nil, applies `message' to it, thus printing it."
|
|||
;; Secondly, the buffer has not been displayed yet,
|
||||
;; so we don't know whether its frame will be selected.
|
||||
nil)
|
||||
(display-buffer-reuse-frames
|
||||
(setq help-return-method (cons (selected-window)
|
||||
'quit-window))
|
||||
nil)
|
||||
((not (one-window-p t))
|
||||
(setq help-return-method
|
||||
(cons (selected-window) 'quit-window))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue