diff options
| author | Robert Pluim | 2023-06-19 17:31:25 +0200 |
|---|---|---|
| committer | Robert Pluim | 2023-07-13 15:37:16 +0200 |
| commit | 488dc24d2a6ccbdd3f61c2d60629d2afd7a538d0 (patch) | |
| tree | 026d6ee124224d97c4509ee3fd30d978b400dfef | |
| parent | 587efce9faeb1a0b23b8367c02264a6f988832d0 (diff) | |
| download | emacs-488dc24d2a6ccbdd3f61c2d60629d2afd7a538d0.tar.gz emacs-488dc24d2a6ccbdd3f61c2d60629d2afd7a538d0.zip | |
Prevent tex-shell buffer from reusing same window
* lisp/window.el (display-tex-shell-buffer-action): Add
'inhibit-same-window' to the default action.
| -rw-r--r-- | lisp/window.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." | |||
| 8795 | :group 'windows | 8795 | :group 'windows |
| 8796 | :group 'comint) | 8796 | :group 'comint) |
| 8797 | 8797 | ||
| 8798 | (defcustom display-tex-shell-buffer-action '(display-buffer-in-previous-window) | 8798 | (defcustom display-tex-shell-buffer-action '(display-buffer-in-previous-window |
| 8799 | (inhibit-same-window . t)) | ||
| 8799 | "`display-buffer' action for displaying TeX shell buffers." | 8800 | "`display-buffer' action for displaying TeX shell buffers." |
| 8800 | :type display-buffer--action-custom-type | 8801 | :type display-buffer--action-custom-type |
| 8801 | :risky t | 8802 | :risky t |