From a18517f619bddbe23e6a91ef9dbec360d2b3447e Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Tue, 11 Jan 2022 19:13:04 +0200 Subject: [PATCH] Fix display-comint-buffer-action default behavior (closes bug#52878) * lisp/window.el (display-comint-buffer-action): Make it an alist. --- lisp/window.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2