1
Fork 0
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:
Gerd Moellmann 2000-08-08 12:18:17 +00:00
parent 07ca56eb35
commit f3ad2fc8d0

View file

@ -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))