From 8bee3c417c44afdf04fda7a3495d598a99f6d9bc Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 11 Apr 2013 00:42:55 +0300 Subject: [PATCH] emacs: fixed (declare-function ...) definitions 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 cda79f1d..c1c6f4b4 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 a4d2c128..face2a0a 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 826b6f43..80c475c6 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)) ;; -- 2.43.0