]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: fixed (declare-function ...) definitions
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 10 Apr 2013 21:42:55 +0000 (00:42 +0300)
committerDavid Bremner <bremner@debian.org>
Tue, 30 Apr 2013 09:13:18 +0000 (06:13 -0300)
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
emacs/notmuch-show.el
emacs/notmuch-wash.el

index cda79f1dde695aabadd5f80f49f22d07af22b737..c1c6f4b42186698f75fee9549ca1ab62daf58bd3 100644 (file)
@@ -26,7 +26,7 @@
 (require 'notmuch-lib)
 (require 'notmuch-mua)
 
 (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
 (declare-function notmuch-poll "notmuch" ())
 
 (defcustom notmuch-hello-recent-searches-max 10
index a4d2c128588d55a8ece1046fdbbb96c28e8f4b5e..face2a0a97fb817cb68326c606bd1f731b3f6c75 100644 (file)
@@ -38,7 +38,6 @@
 (require 'notmuch-print)
 
 (declare-function notmuch-call-notmuch-process "notmuch" (&rest args))
 (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)
 
 (declare-function notmuch-search-next-thread "notmuch" nil)
 (declare-function notmuch-search-show-thread "notmuch" nil)
 
index 826b6f43c77ba6853a32f65ad82b67af0a52271c..80c475c6c1b94dbf243c7af875a6b98fc3fd58d5 100644 (file)
@@ -23,7 +23,7 @@
 
 (require 'coolj)
 
 
 (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))
 
 ;;
 
 
 ;;