summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-10-23 13:16:51 -0400
committerKyle Meyer <kyle@kyleam.com>2021-10-23 14:57:23 -0400
commitb9f1fec92ae03f9f97e20455aa8804d3e04d640e (patch)
tree3d3c3fd225e3816869edeedc6bc5100233b1f0bf
parentb0d43bfd23d8f5f86db63d2409743398b08f9d4e (diff)
downloadpiem-b9f1fec92ae03f9f97e20455aa8804d3e04d640e.tar.gz
piem-notmuch-known-mid-p: Autoload
Allow users to set piem-mail-injection-skipif-predicate to piem-notmuch-known-mid-p without worrying about whether piem-notmuch.el is loaded. Message-Id: <20211023171651.167143-1-kyle@kyleam.com>
-rw-r--r--piem-notmuch.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/piem-notmuch.el b/piem-notmuch.el
index 1da554a..c712366 100644
--- a/piem-notmuch.el
+++ b/piem-notmuch.el
@@ -55,6 +55,7 @@
"Return the message ID of a `notmuch-show-mode' buffer."
(notmuch-show-get-message-id 'bare))
+;;;###autoload
(defun piem-notmuch-known-mid-p (mid)
"Return non-nil if MID is known to Notmuch.
The message ID should not include Notmuch's \"id:\" prefix or