]> git.eshelyaron.com Git - emacs.git/commitdiff
(print-help-return-message): When
authorGerd Moellmann <gerd@gnu.org>
Tue, 8 Aug 2000 12:18:17 +0000 (12:18 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 8 Aug 2000 12:18:17 +0000 (12:18 +0000)
display-buffer-reuse-frames is set, let the help window been quit,
instead of deleting it, which might delete a reused frame.

lisp/help.el

index 2950ffd59299bbbdd81bf588b53fa92b6683fe67..67a8858473fd1659038318dbf67b22f363376341 100644 (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))