]> git.eshelyaron.com Git - emacs.git/commit
Fix bug#52467 by adding a new custom variable 'display-comint-buffer-action'
authorSam Steingold <sdsg@amazon.com>
Tue, 28 Dec 2021 22:27:41 +0000 (17:27 -0500)
committerSam Steingold <sdsg@amazon.com>
Tue, 28 Dec 2021 22:28:49 +0000 (17:28 -0500)
commit18b680cfd177e877991be2bd70ead628bbdc0aa0
tree0d926a816f1a60e5836221192549854155740b33
parent6e52becfbe2a33c025b8c4838b3c8f06ba5a6fb8
Fix bug#52467 by adding a new custom variable 'display-comint-buffer-action'

* lisp/window.el (display-comint-buffer-action): New `defcustom`,
defaults to 'display-buffer-same-window' for backward compatibility.
* lisp/cmuscheme.el (run-scheme, switch-to-scheme): Pass
'display-comint-buffer-action' to 'pop-to-buffer' instead
of using 'pop-to-buffer-same-window'.
* lisp/eshell/eshell.el (eshell): Likewise.
* lisp/shell.el (shell): Likewise.
* lisp/org/ol-eshell.el (org-eshell-open): Likewise.
* lisp/progmodes/inf-lisp.el (inferior-lisp): Likewise.
* lisp/progmodes/project.el (project-shell, project-eshell): Likewise.
* lisp/textmodes/tex-mode.el (tex-display-shell, tex-compile-default)
(tex-recenter-output-buffer): Pass 'display-comint-buffer-action'
to 'pop-to-buffer'.
lisp/cmuscheme.el
lisp/eshell/eshell.el
lisp/org/ol-eshell.el
lisp/progmodes/inf-lisp.el
lisp/progmodes/project.el
lisp/shell.el
lisp/textmodes/tex-mode.el
lisp/window.el