]> git.cworth.org Git - notmuch/blobdiff - emacs/notmuch-show.el
emacs/show: obey notmuch-show-max-text-part-size for part 0
[notmuch] / emacs / notmuch-show.el
index facb9cfe7444d1cd09fc80e3269a9053f93aac3f..426028a69fb435372169930a9e8c93641d3a1768 100644 (file)
@@ -1048,7 +1048,7 @@ is t, hide the part initially and show the button."
         (beg (point))
         ;; This default header-p function omits the part button for
         ;; the first (or only) part if this is text/plain.
-        (button (and (or deep
+        (button (and (or deep long
                          (funcall notmuch-show-insert-header-p-function part hide))
                      (notmuch-show-insert-part-header
                       nth mime-type