]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix display-comint-buffer-action default behavior (closes bug#52878)
authorMorgan Smith <Morgan.J.Smith@outlook.com>
Tue, 11 Jan 2022 17:13:04 +0000 (19:13 +0200)
committerJuri Linkov <juri@linkov.net>
Tue, 11 Jan 2022 17:13:04 +0000 (19:13 +0200)
* lisp/window.el (display-comint-buffer-action): Make it an alist.

lisp/window.el

index 3f61d5312822b216ad1998c42277cceb4dae1311..dc5f5b98e1c6d2264a8c56b3207f697973ee8b28 100644 (file)
@@ -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