summaryrefslogtreecommitdiff
path: root/piem-notmuch.el
diff options
context:
space:
mode:
Diffstat (limited to 'piem-notmuch.el')
-rw-r--r--piem-notmuch.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/piem-notmuch.el b/piem-notmuch.el
index 1e4dbb2..c9c3bed 100644
--- a/piem-notmuch.el
+++ b/piem-notmuch.el
@@ -88,9 +88,10 @@ message itself if it looks like a patch."
(plist-get part :content)))
(plist-get body :content)))))
(when patches
- (lambda ()
- (dolist (patch patches)
- (insert patch))))))))))
+ (list (lambda ()
+ (dolist (patch patches)
+ (insert patch)))
+ "mbox"))))))))
;;;###autoload
(define-minor-mode piem-notmuch-mode