diff options
| author | Juri Linkov | 2019-12-23 01:02:22 +0200 |
|---|---|---|
| committer | Juri Linkov | 2019-12-23 01:02:22 +0200 |
| commit | eea05713bef7b86ff84ca843948f944e4c856119 (patch) | |
| tree | 8f004970ab70db461ffb4de269fba077e63e6574 | |
| parent | d7eb4955ebb77379a64c60d0eda4a112ca8c596c (diff) | |
| download | emacs-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.el | 3 |
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 |