From: Gerd Moellmann Date: Tue, 8 Aug 2000 12:18:17 +0000 (+0000) Subject: (print-help-return-message): When X-Git-Tag: emacs-pretest-21.0.90~2428 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f3ad2fc8d0206ad806d6dafffe7cb3b01d9729c4;p=emacs.git (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. --- diff --git a/lisp/help.el b/lisp/help.el index 2950ffd5929..67a8858473f 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -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))