diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-08-22 15:01:30 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-08-23 20:36:58 -0400 |
commit | b5d12075db5966a51ff6e0f7838796f682f20fd0 (patch) | |
tree | 8aba728bb9965b6ba8ff68556fe9e57c0dcdacff /piem.el | |
parent | c91bc52770ac697f0a2fb0069257c3af27962e3c (diff) | |
download | piem-b5d12075db5966a51ff6e0f7838796f682f20fd0.tar.gz |
notmuch: Extract "known message?" logic to function
Notmuch users can set piem-mail-injection-skipif-predicate to the new
function.
Message-Id: <20200822190130.20397-4-kyle@kyleam.com>
Diffstat (limited to 'piem.el')
-rw-r--r-- | piem.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -152,7 +152,10 @@ The function is called with the message ID (no surrounding brackets) within a buffer that is narrowed to the message. The function does not need to worry about saving point. A non-nil return value signals that `piem-inject-thread-into-maildir' -should skip the message." +should skip the message. + +Notmuch users can use `piem-notmuch-known-mid-p' as the predicate +to skip messages that are already in the Notmuch database." :type 'function) (defcustom piem-after-mail-injection-functions nil |