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.
This commit is contained in:
Lars Ingebrigtsen 2019-07-29 15:45:48 +02:00
parent a9593253e9
commit b47ca8125b

View file

@ -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)