* 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*".
This commit is contained in:
Juri Linkov 2019-12-23 01:02:22 +02:00
parent d7eb4955eb
commit eea05713be

View 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