emacs-diffs
[Top][All Lists]
Advanced

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

master eea05713: * lisp/files.el (save-buffers-kill-emacs): Mark "*Proce


From: Juri Linkov
Subject: master eea05713: * lisp/files.el (save-buffers-kill-emacs): Mark "*Process List*" as dedicated.
Date: Sun, 22 Dec 2019 18:02:29 -0500 (EST)

branch: master
commit eea05713bef7b86ff84ca843948f944e4c856119
Author: Juri Linkov <address@hidden>
Commit: Juri Linkov <address@hidden>

    * lisp/files.el (save-buffers-kill-emacs): Mark "*Process List*" as 
dedicated.
    
    Using the 'dedicated' prop for display-buffer--maybe-at-bottom marks the
    window of the buffer "*Process List*" as dedicated, so it won't be replaced
    by another buffer that might be visited following links to process buffers
    from the buffer "*Process List*".
---
 lisp/files.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/files.el b/lisp/files.el
index 96f1e8d..503f7fc 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -7250,7 +7250,8 @@ if any returns nil.  If `confirm-kill-emacs' is non-nil, 
calls it."
            (or (not active)
                (with-displayed-buffer-window
                 (get-buffer-create "*Process List*")
-                '(display-buffer--maybe-at-bottom)
+                '(display-buffer--maybe-at-bottom
+                  (dedicated . t))
                 #'(lambda (window _value)
                     (with-selected-window window
                       (unwind-protect



reply via email to

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