From f3ad2fc8d0206ad806d6dafffe7cb3b01d9729c4 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 8 Aug 2000 12:18:17 +0000 Subject: [PATCH] (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. --- lisp/help.el | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 2.39.2