branch: externals/notmuch-indicator
commit d1129e7c6b205186dd29b94f8dd4a0fb50104901
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Placate the compiler about 'notmuch-search'
---
 notmuch-indicator.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index d236b743e8..07ada7aec8 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -166,6 +166,10 @@ option `notmuch-indicator-refresh-count'."
    (shell-command-to-string
     (format "notmuch count %s" terms))))
 
+(declare-function
+ notmuch-search "notmuch"
+ (&optional query oldest-first target-thread target-line no-display))
+
 (defun notmuch-indicator--format-label (label count face terms)
   "Format LABEL, COUNT, FACE and TERMS of `notmuch-indicator-args'."
   (let ((map (make-sparse-keymap)))

Reply via email to