From: Morgan Smith Date: Tue, 11 Jan 2022 17:13:04 +0000 (+0200) Subject: Fix display-comint-buffer-action default behavior (closes bug#52878) X-Git-Tag: emacs-29.0.90~3130 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a18517f619bddbe23e6a91ef9dbec360d2b3447e;p=emacs.git Fix display-comint-buffer-action default behavior (closes bug#52878) * lisp/window.el (display-comint-buffer-action): Make it an alist. --- diff --git a/lisp/window.el b/lisp/window.el index 3f61d531282..dc5f5b98e1c 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -7474,9 +7474,9 @@ ALIST. See `display-buffer' for details." :version "24.1" :group 'windows) -(defcustom display-comint-buffer-action 'display-buffer-same-window - "The action to display a comint buffer." - :type display-buffer--action-function-custom-type +(defcustom display-comint-buffer-action '((display-buffer-same-window)) + "`display-buffer' action for displaying comint buffers." + :type display-buffer--action-custom-type :risky t :version "29.1" :group 'windows