aboutsummaryrefslogtreecommitdiff
path: root/piem-notmuch.el
diff options
context:
space:
mode:
Diffstat (limited to 'piem-notmuch.el')
-rw-r--r--piem-notmuch.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/piem-notmuch.el b/piem-notmuch.el
index 8f5ef77..58e4d88 100644
--- a/piem-notmuch.el
+++ b/piem-notmuch.el
@@ -92,7 +92,8 @@ message itself if it looks like a patch."
(delq nil
(mapcar (lambda (part)
(and (piem-am-patch-attachment-p
- (plist-get part :content-type))
+ (plist-get part :content-type)
+ (plist-get part :filename))
(plist-get part :content)))
(plist-get body :content)))))
(cons (lambda ()