]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Fix some compilation warnings.
authorCarl Worth <cworth@cworth.org>
Fri, 23 Apr 2010 19:57:22 +0000 (12:57 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 23 Apr 2010 19:57:22 +0000 (12:57 -0700)
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.

emacs/notmuch-hello.el
emacs/notmuch.el

index 13de6f8150e9c93d21ca1addf50e9cde7deddf69..aefa350f8282e237ae24dc9ef40ac56460db33e9 100644 (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
index 71fd360a71aefbe6bb3a948cbc22d151bae0bc0c..1d8d7da0e8d01528525291503eead73df4562ff0 100644 (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]\\>")