aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2019-12-23 01:02:22 +0200
committerJuri Linkov2019-12-23 01:02:22 +0200
commiteea05713bef7b86ff84ca843948f944e4c856119 (patch)
tree8f004970ab70db461ffb4de269fba077e63e6574
parentd7eb4955ebb77379a64c60d0eda4a112ca8c596c (diff)
downloademacs-eea05713bef7b86ff84ca843948f944e4c856119.tar.gz
emacs-eea05713bef7b86ff84ca843948f944e4c856119.zip
* 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*".
-rw-r--r--lisp/files.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 96f1e8d47e7..503f7fca72a 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."
7250 (or (not active) 7250 (or (not active)
7251 (with-displayed-buffer-window 7251 (with-displayed-buffer-window
7252 (get-buffer-create "*Process List*") 7252 (get-buffer-create "*Process List*")
7253 '(display-buffer--maybe-at-bottom) 7253 '(display-buffer--maybe-at-bottom
7254 (dedicated . t))
7254 #'(lambda (window _value) 7255 #'(lambda (window _value)
7255 (with-selected-window window 7256 (with-selected-window window
7256 (unwind-protect 7257 (unwind-protect