From b47ca8125b39b871328da114637449a86050baa5 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 29 Jul 2019 15:45:48 +0200 Subject: [PATCH] Tweak how mm-display-external handles windows * lisp/gnus/mm-decode.el (mm-display-external): Don't delete other buffers when displaying parts (bug#22861) because that should be up to the user, probably. --- lisp/gnus/mm-decode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index 85aa6944dd3..c73bec0f19f 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el @@ -896,11 +896,11 @@ external if displayed external." (buffer-live-p gnus-summary-buffer)) (when attachment-filename (with-current-buffer mm - (rename-buffer (format "*mm* %s" attachment-filename) t))) + (rename-buffer + (format "*mm* %s" attachment-filename) t))) ;; So that we pop back to the right place, sort of. (switch-to-buffer gnus-summary-buffer) (switch-to-buffer mm)) - (delete-other-windows) (funcall method)) (mm-save-part handle)) (when (and (not non-viewer) -- 2.39.2