changeset 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 d470d496fd53
children 9c402b90b24d
files lisp/help.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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))