From eea05713bef7b86ff84ca843948f944e4c856119 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 23 Dec 2019 01:02:22 +0200 Subject: [PATCH] * 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 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." (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 -- 2.39.2