aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2020-03-18 13:11:53 -0400
committerDavid Bremner <david@tethera.net>2020-03-22 22:21:20 -0300
commitea16b5ba850ae0cfad619ef2b0995a5b30ae3ebc (patch)
tree1725eb87dfb8d9df2688e5f6801eaa2fad30bfae
parent4dccb9928280bd60b79a662dc855187e7522ceba (diff)
emacs: avoid warning about notmuch-show-get-message-id
Without this change, we see the following warning when compiling the elisp: ``` EMACS emacs/notmuch-crypto.elc In end of data: emacs/notmuch-crypto.el:266:1:Warning: the function ‘notmuch-show-get-message-id’ is not known to be defined. ``` Thanks to Örjan Ekeberg and David Edmondson for their followup about this. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-rw-r--r--emacs/notmuch-crypto.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el
index 4035ee37..928de0bb 100644
--- a/emacs/notmuch-crypto.el
+++ b/emacs/notmuch-crypto.el
@@ -163,6 +163,7 @@ by user FROM."
(recenter -1))))
(declare-function notmuch-show-refresh-view "notmuch-show" (&optional reset-state))
+(declare-function notmuch-show-get-message-id "notmuch-show" (&optional bare))
(defun notmuch-crypto--async-key-sentinel (process event)
"When the user asks for a GPG key to be retrieved