[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 488dc24d2a6 2/2: Prevent tex-shell buffer from reusing same windo
From: |
Robert Pluim |
Subject: |
master 488dc24d2a6 2/2: Prevent tex-shell buffer from reusing same window |
Date: |
Thu, 13 Jul 2023 09:38:30 -0400 (EDT) |
branch: master
commit 488dc24d2a6ccbdd3f61c2d60629d2afd7a538d0
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>
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