]> git.cworth.org Git - notmuch/blobdiff - emacs/notmuch-mua.el
emacs/reply: restrict what mime types are inlined by default
[notmuch] / emacs / notmuch-mua.el
index c679373b175955092858c7bfe8366a4aa088c91e..60801f4be7d331269a578599c00abc2c0cc5c831 100644 (file)
@@ -316,7 +316,9 @@ Typically this is added to `notmuch-mua-send-hook'."
                ;; text.
                (notmuch-show-process-crypto process-crypto)
                ;; Don't indent multipart sub-parts.
-               (notmuch-show-indent-multipart nil))
+               (notmuch-show-indent-multipart nil)
+               ;; Stop certain mime types from being inlined
+               (mm-inline-override-types (notmuch--inline-override-types)))
             ;; We don't want sigstatus buttons (an information leak and usually wrong anyway).
             (cl-letf (((symbol-function 'notmuch-crypto-insert-sigstatus-button) #'ignore)
                       ((symbol-function 'notmuch-crypto-insert-encstatus-button) #'ignore))