emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 368b8fe765: * lisp/window.el (display-comint-buffer-action): Move


From: Juri Linkov
Subject: master 368b8fe765: * lisp/window.el (display-comint-buffer-action): Move to the end of file.
Date: Tue, 11 Jan 2022 13:05:05 -0500 (EST)

branch: master
commit 368b8fe765b451084529fb8021db2a99abf2f65a
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * lisp/window.el (display-comint-buffer-action): Move to the end of file.
    
    Move closer to pop-to-buffer-same-window after its default value
    display-buffer--same-window-action is defined.
---
 lisp/window.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/lisp/window.el b/lisp/window.el
index 0d8e1813ab..582600e1c6 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -7474,14 +7474,6 @@ ALIST.  See `display-buffer' for details."
   :version "24.1"
   :group 'windows)
 
-(defcustom display-comint-buffer-action display-buffer--same-window-action
-  "`display-buffer' action for displaying comint buffers."
-  :type display-buffer--action-custom-type
-  :risky t
-  :version "29.1"
-  :group 'windows
-  :group 'comint)
-
 (defconst display-buffer-fallback-action
   '((display-buffer--maybe-same-window  ;FIXME: why isn't this redundant?
      display-buffer-reuse-window
@@ -8575,6 +8567,14 @@ currently selected window; otherwise it will be 
displayed in
 another window."
   (pop-to-buffer buffer display-buffer--same-window-action norecord))
 
+(defcustom display-comint-buffer-action display-buffer--same-window-action
+  "`display-buffer' action for displaying comint buffers."
+  :type display-buffer--action-custom-type
+  :risky t
+  :version "29.1"
+  :group 'windows
+  :group 'comint)
+
 (defun read-buffer-to-switch (prompt)
   "Read the name of a buffer to switch to, prompting with PROMPT.
 Return the name of the buffer as a string.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]