]> git.eshelyaron.com Git - emacs.git/commitdiff
Prevent tex-shell buffer from reusing same window
authorRobert Pluim <rpluim@gmail.com>
Mon, 19 Jun 2023 15:31:25 +0000 (17:31 +0200)
committerRobert Pluim <rpluim@gmail.com>
Thu, 13 Jul 2023 13:37:16 +0000 (15:37 +0200)
* lisp/window.el (display-tex-shell-buffer-action): Add
'inhibit-same-window' to the default action.

lisp/window.el

index 424f1319ab7d6b4402d115e8562e4d9be743be2f..d91bbabc01073a9b47409e4e52137ff8945f4718 100644 (file)
@@ -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