From 488dc24d2a6ccbdd3f61c2d60629d2afd7a538d0 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Mon, 19 Jun 2023 17:31:25 +0200 Subject: [PATCH] Prevent tex-shell buffer from reusing same window * lisp/window.el (display-tex-shell-buffer-action): Add 'inhibit-same-window' to the default action. --- lisp/window.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/window.el b/lisp/window.el index 424f1319ab7..d91bbabc010 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -8795,7 +8795,8 @@ another window." :group 'windows :group 'comint) -(defcustom display-tex-shell-buffer-action '(display-buffer-in-previous-window) +(defcustom display-tex-shell-buffer-action '(display-buffer-in-previous-window + (inhibit-same-window . t)) "`display-buffer' action for displaying TeX shell buffers." :type display-buffer--action-custom-type :risky t -- 2.39.2