From: Juri Linkov Date: Sun, 22 Dec 2019 23:02:22 +0000 (+0200) Subject: * lisp/files.el (save-buffers-kill-emacs): Mark "*Process List*" as dedicated. X-Git-Tag: emacs-27.0.90~307 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eea05713bef7b86ff84ca843948f944e4c856119;p=emacs.git * 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*". --- 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