summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-04-23 12:57:22 -0700
committerCarl Worth <cworth@cworth.org>2010-04-23 12:57:22 -0700
commit4b0994dd25c97282701041e50a4916b149213dec (patch)
tree851a9e5ff229ef0d052b4084e541395446b5be9a
parente9394932f7ccf71755faed8965876e6869e0eacb (diff)
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.
-rw-r--r--emacs/notmuch-hello.el2
-rw-r--r--emacs/notmuch.el1
2 files changed, 2 insertions, 1 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index 13de6f8..aefa350 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -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
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 71fd360..1d8d7da 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -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]\\>")