discussion and development of piem
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: piem@inbox.kyleam.com
Subject: [PATCH] piem-notmuch-known-mid-p: Autoload
Date: Sat, 23 Oct 2021 13:16:51 -0400	[thread overview]
Message-ID: <20211023171651.167143-1-kyle@kyleam.com> (raw)

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


                 reply	other threads:[~2021-10-23 17:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://git.kyleam.com/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211023171651.167143-1-kyle@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=piem@inbox.kyleam.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).