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.
This commit is contained in:
Carl Worth 2010-04-26 22:33:09 -07:00
parent f8e372ebec
commit 4727eacb36
2 changed files with 1 additions and 3 deletions

View file

@ -27,7 +27,7 @@
(require 'notmuch-mua) (require 'notmuch-mua)
(declare-function notmuch-search "notmuch" (query &optional oldest-first target-thread target-line continuation)) (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 (defvar notmuch-hello-search-bar-marker nil
"The position of the search bar within the notmuch-hello buffer.") "The position of the search bar within the notmuch-hello buffer.")

View file

@ -40,8 +40,6 @@
;; ;;
(declare-function notmuch-poll ())
(defun notmuch-version () (defun notmuch-version ()
"Return a string with the notmuch version number." "Return a string with the notmuch version number."
(let ((long-string (let ((long-string