From 4727eacb36245ccd2eabe22bfa408a099b574255 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 26 Apr 2010 22:33:09 -0700 Subject: [PATCH] emacs: Move declare-function from notmuch-lib.el to notmuch-hello.el. Apparently the declare-function macro doesn't work in a required file as I might like it too. Put it where it needs to go to avoid the warning. --- emacs/notmuch-hello.el | 2 +- emacs/notmuch-lib.el | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 97db90e5..e3132a90 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -27,7 +27,7 @@ (require 'notmuch-mua) (declare-function notmuch-search "notmuch" (query &optional oldest-first target-thread target-line continuation)) -(declare-function notmuch-folder-count "notmuch" (search)) +(declare-function notmuch-poll "notmuch" ()) (defvar notmuch-hello-search-bar-marker nil "The position of the search bar within the notmuch-hello buffer.") diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 3b26aca8..b64aeab9 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -40,8 +40,6 @@ ;; -(declare-function notmuch-poll ()) - (defun notmuch-version () "Return a string with the notmuch version number." (let ((long-string -- 2.43.0