summaryrefslogtreecommitdiff
path: root/lisp/gnus/mm-decode.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-07-29 15:45:48 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-07-29 15:45:48 +0200
commitb47ca8125b39b871328da114637449a86050baa5 (patch)
treee9402fa37744a6cc2f02420692a2c301105c2c34 /lisp/gnus/mm-decode.el
parenta9593253e90aa58134833078ae1fc5505ae9f58c (diff)
downloademacs-b47ca8125b39b871328da114637449a86050baa5.tar.gz
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.
Diffstat (limited to 'lisp/gnus/mm-decode.el')
-rw-r--r--lisp/gnus/mm-decode.el4
1 files 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)