Mercurial > emacs
diff lisp/help.el @ 30667:2bd60ea8076f
(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.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Tue, 08 Aug 2000 12:18:17 +0000 |
| parents | 06d02e3657f0 |
| children | b17078a7d55a |
line wrap: on
line diff
--- a/lisp/help.el Tue Aug 08 12:16:11 2000 +0000 +++ b/lisp/help.el Tue Aug 08 12:18:17 2000 +0000 @@ -274,6 +274,10 @@ ;; 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))
