]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/files.el (save-buffers-kill-emacs): Mark "*Process List*" as dedicated.
authorJuri Linkov <juri@linkov.net>
Sun, 22 Dec 2019 23:02:22 +0000 (01:02 +0200)
committerJuri Linkov <juri@linkov.net>
Sun, 22 Dec 2019 23:02:22 +0000 (01:02 +0200)
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

index 96f1e8d47e74a886229f935aca47df7f2598c607..503f7fca72a835d3f35d204d999643a54dc22139 100644 (file)
@@ -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