--- /dev/null
+Return-Path: <too@guru-group.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 3935E431FAF\r
+ for <notmuch@notmuchmail.org>; Wed, 10 Apr 2013 14:43:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id exSXyeFxgRwy for <notmuch@notmuchmail.org>;\r
+ Wed, 10 Apr 2013 14:42:59 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by olra.theworths.org (Postfix) with ESMTP id 68312431FAE\r
+ for <notmuch@notmuchmail.org>; Wed, 10 Apr 2013 14:42:59 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+ id 0F4B9100648; Thu, 11 Apr 2013 00:42:57 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 1/1] emacs: fixed (declare-function ...) definitions\r
+Date: Thu, 11 Apr 2013 00:42:55 +0300\r
+Message-Id: <1365630175-1048-1-git-send-email-tomi.ollila@iki.fi>\r
+X-Mailer: git-send-email 1.8.0\r
+Cc: tomi.ollila@iki.fi\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 10 Apr 2013 21:43:03 -0000\r
+\r
+Some (declare-function ...) definitions were drifted away from the\r
+actual (defun ...)'s. To find the drifts and to verify changes\r
+the following command line was used:\r
+\r
+$ emacs --batch -L emacs --eval '(check-declare-directory "emacs")'\r
+---\r
+ emacs/notmuch-hello.el | 2 +-\r
+ emacs/notmuch-show.el | 1 -\r
+ emacs/notmuch-wash.el | 2 +-\r
+ 3 files changed, 2 insertions(+), 3 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
+index cda79f1..c1c6f4b 100644\r
+--- a/emacs/notmuch-hello.el\r
++++ b/emacs/notmuch-hello.el\r
+@@ -26,7 +26,7 @@\r
+ (require 'notmuch-lib)\r
+ (require 'notmuch-mua)\r
+ \r
+-(declare-function notmuch-search "notmuch" (query &optional oldest-first target-thread target-line continuation))\r
++(declare-function notmuch-search "notmuch" (&optional query oldest-first target-thread target-line continuation))\r
+ (declare-function notmuch-poll "notmuch" ())\r
+ \r
+ (defcustom notmuch-hello-recent-searches-max 10\r
+diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+index a4d2c12..face2a0 100644\r
+--- a/emacs/notmuch-show.el\r
++++ b/emacs/notmuch-show.el\r
+@@ -38,7 +38,6 @@\r
+ (require 'notmuch-print)\r
+ \r
+ (declare-function notmuch-call-notmuch-process "notmuch" (&rest args))\r
+-(declare-function notmuch-fontify-headers "notmuch" nil)\r
+ (declare-function notmuch-search-next-thread "notmuch" nil)\r
+ (declare-function notmuch-search-show-thread "notmuch" nil)\r
+ \r
+diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el\r
+index 826b6f4..80c475c 100644\r
+--- a/emacs/notmuch-wash.el\r
++++ b/emacs/notmuch-wash.el\r
+@@ -23,7 +23,7 @@\r
+ \r
+ (require 'coolj)\r
+ \r
+-(declare-function notmuch-show-insert-bodypart "notmuch-show" (msg part depth))\r
++(declare-function notmuch-show-insert-bodypart "notmuch-show" (msg part depth &optional hide))\r
+ \r
+ ;;\r
+ \r
+-- \r
+1.8.0\r
+\r