]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Move declare-function from notmuch-lib.el to notmuch-hello.el.
authorCarl Worth <cworth@cworth.org>
Tue, 27 Apr 2010 05:33:09 +0000 (22:33 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 27 Apr 2010 05:33:09 +0000 (22:33 -0700)
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
emacs/notmuch-lib.el

index 97db90e51a24875c17184363f0d2cfc03c2f0c92..e3132a9066e62d2fe2fd81c3e1457d5afb2b255e 100644 (file)
@@ -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.")
index 3b26aca83f771a9b94add3ff601e50f6dbba7123..b64aeab94a4997053d09e5dc41969344af123d24 100644 (file)
@@ -40,8 +40,6 @@
 
 ;;
 
-(declare-function notmuch-poll ())
-
 (defun notmuch-version ()
   "Return a string with the notmuch version number."
   (let ((long-string