discussion and development of piem
 help / color / mirror / code / Atom feed
* [PATCH] piem-notmuch-known-mid-p: Autoload
@ 2021-10-23 17:16 Kyle Meyer
  0 siblings, 0 replies; only message in thread
From: Kyle Meyer @ 2021-10-23 17:16 UTC (permalink / raw)
  To: piem

Allow users to set piem-mail-injection-skipif-predicate to
piem-notmuch-known-mid-p without worrying about whether
piem-notmuch.el is loaded.
---
 piem-notmuch.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/piem-notmuch.el b/piem-notmuch.el
index 1da554a4..c7123665 100644
--- a/piem-notmuch.el
+++ b/piem-notmuch.el
@@ -55,6 +55,7 @@ (defun piem-notmuch-get-mid ()
   "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

base-commit: b0d43bfd23d8f5f86db63d2409743398b08f9d4e
-- 
2.33.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-23 17:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-23 17:16 [PATCH] piem-notmuch-known-mid-p: Autoload Kyle Meyer

Code repositories for project(s) associated with this public inbox

	https://git.kyleam.com/piem/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).