X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-show.el;h=6ef3f90f1f39892aa305bb246f95de6deb540f2e;hp=eee4da9896434c327e545d904a058f4a0e2687d8;hb=d5d39a92f1d2c38f2813bb9aa2fbffa2a450b549;hpb=d61cef374b3234c2f1327fa74b612b40c196a605 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index eee4da98..6ef3f90f 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -585,6 +585,10 @@ current buffer, if possible." nil)) nil)))) +;; Handler for wash generated inline patch fake parts. +(defun notmuch-show-insert-part-inline-patch-fake-part (msg part content-type nth depth declared-type) + (notmuch-show-insert-part-*/* msg part "text/x-diff" nth depth "inline patch")) + (defun notmuch-show-insert-part-*/* (msg part content-type nth depth declared-type) ;; This handler _must_ succeed - it is the handler of last resort. (notmuch-show-insert-part-header nth content-type declared-type (plist-get part :filename))