From: Carl Worth Date: Fri, 23 Apr 2010 19:57:22 +0000 (-0700) Subject: emacs: Fix some compilation warnings. X-Git-Tag: 0.3~94 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=4b0994dd25c97282701041e50a4916b149213dec;p=notmuch 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. --- diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 13de6f81..aefa350f 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 71fd360a..1d8d7da0 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]\\>")