]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-wash.el
emacs: add inline patch fake parts through a special handler
[notmuch] / emacs / notmuch-wash.el
index 1f420b25a05d770556cd19e4e737f522b7e18098..e9f2dbad577963dcc7976544f8a26df8b1e8fc9f 100644 (file)
@@ -313,7 +313,7 @@ for error."
              (setq patch-end (match-beginning 0)))
          (save-restriction
            (narrow-to-region patch-start patch-end)
-           (setq part (plist-put part :content-type "text/x-diff"))
+           (setq part (plist-put part :content-type "inline-patch-fake-part"))
            (setq part (plist-put part :content (buffer-string)))
            (setq part (plist-put part :id -1))
            (setq part (plist-put part :filename "inline patch"))