aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-07-29 15:45:48 +0200
committerLars Ingebrigtsen2019-07-29 15:45:48 +0200
commitb47ca8125b39b871328da114637449a86050baa5 (patch)
treee9402fa37744a6cc2f02420692a2c301105c2c34
parenta9593253e90aa58134833078ae1fc5505ae9f58c (diff)
downloademacs-b47ca8125b39b871328da114637449a86050baa5.tar.gz
emacs-b47ca8125b39b871328da114637449a86050baa5.zip
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.
-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."
896 (buffer-live-p gnus-summary-buffer)) 896 (buffer-live-p gnus-summary-buffer))
897 (when attachment-filename 897 (when attachment-filename
898 (with-current-buffer mm 898 (with-current-buffer mm
899 (rename-buffer (format "*mm* %s" attachment-filename) t))) 899 (rename-buffer
900 (format "*mm* %s" attachment-filename) t)))
900 ;; So that we pop back to the right place, sort of. 901 ;; So that we pop back to the right place, sort of.
901 (switch-to-buffer gnus-summary-buffer) 902 (switch-to-buffer gnus-summary-buffer)
902 (switch-to-buffer mm)) 903 (switch-to-buffer mm))
903 (delete-other-windows)
904 (funcall method)) 904 (funcall method))
905 (mm-save-part handle)) 905 (mm-save-part handle))
906 (when (and (not non-viewer) 906 (when (and (not non-viewer)