]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak how mm-display-external handles windows
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 29 Jul 2019 13:45:48 +0000 (15:45 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 29 Jul 2019 13:45:48 +0000 (15:45 +0200)
* 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

index 85aa6944dd398446433c0d8963ac7ca0cd678854..c73bec0f19f30795d9d332246ee83358c8d41b69 100644 (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)