summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-04-26 22:33:09 -0700
committerCarl Worth <cworth@cworth.org>2010-04-26 22:33:09 -0700
commit4727eacb36245ccd2eabe22bfa408a099b574255 (patch)
tree60b7d7dcc5456950ff848bd6f8d4046022aa25a2
parentf8e372ebeccff4e2cba323d75ac1278cb22828b9 (diff)
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.
-rw-r--r--emacs/notmuch-hello.el2
-rw-r--r--emacs/notmuch-lib.el2
2 files changed, 1 insertions, 3 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index 97db90e..e3132a9 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 3b26aca..b64aeab 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