Commit f3ad2fc8 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(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.
parent 07ca56eb
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment