From: Robert Pluim Date: Mon, 19 Jun 2023 15:31:25 +0000 (+0200) Subject: Prevent tex-shell buffer from reusing same window X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=488dc24d2a6ccbdd3f61c2d60629d2afd7a538d0;p=emacs.git Prevent tex-shell buffer from reusing same window * lisp/window.el (display-tex-shell-buffer-action): Add 'inhibit-same-window' to the default action. --- 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