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