emacs: Fix some compilation warnings.

Fix missing argumen in declaration of notmuch-search function and add
a definition of notmuch-search-continuation to avoid warning about
assignment to a free variable.
This commit is contained in:
Carl Worth 2010-04-23 12:57:22 -07:00
parent e9394932f7
commit 4b0994dd25
2 changed files with 2 additions and 1 deletions

View file

@ -26,7 +26,7 @@
(require 'notmuch-lib)
(require 'notmuch)
(declare-function notmuch-search "notmuch" (query &optional oldest-first target-thread target-line))
(declare-function notmuch-search "notmuch" (query &optional oldest-first target-thread target-line continuation))
(declare-function notmuch-folder-count "notmuch" (search))
(defcustom notmuch-hello-recent-searches-max 10

View file

@ -233,6 +233,7 @@ For a mouse binding, return nil."
(defvar notmuch-search-target-line)
(defvar notmuch-search-oldest-first t
"Show the oldest mail first in the search-mode")
(defvar notmuch-search-continuation)
(defvar notmuch-search-disjunctive-regexp "\\<[oO][rR]\\>")