aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorGravatar Mark Walters <markwalters1009@gmail.com>2013-10-29 22:55:29 +0000
committerGravatar David Bremner <david@tethera.net>2013-11-07 07:31:24 -0400
commite2a16b6a6ba6736792f38cf6ede7bae3a66d4be6 (patch)
tree7f28c6179174b47e2bffd0ebff362928a17669a2 /contrib
parent52faf1f99313a76b21a13517e7f21ef45cde1f9e (diff)
emacs: tree: remove unneeded declarations
There are some crufty declare-functions and requires in notmuch-tree: since it requires notmuch.el itself this all works but in preparation for the move to mainline tidy this up.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/notmuch-pick/notmuch-tree.el13
1 files changed, 4 insertions, 9 deletions
diff --git a/contrib/notmuch-pick/notmuch-tree.el b/contrib/notmuch-pick/notmuch-tree.el
index 512589f1..d3330a06 100644
--- a/contrib/notmuch-pick/notmuch-tree.el
+++ b/contrib/notmuch-pick/notmuch-tree.el
@@ -27,20 +27,15 @@
(require 'notmuch-lib)
(require 'notmuch-query)
(require 'notmuch-show)
+(require 'notmuch-tag)
+(require 'notmuch-parser)
(require 'notmuch) ;; XXX ATM, as notmuch-search-mode-map is defined here
(eval-when-compile (require 'cl))
-
+(declare-function notmuch-search "notmuch" (&optional query oldest-first target-thread target-line))
(declare-function notmuch-call-notmuch-process "notmuch" (&rest args))
-(declare-function notmuch-show "notmuch-show" (&rest args))
-(declare-function notmuch-tag "notmuch" (query &rest tags))
-(declare-function notmuch-show-strip-re "notmuch-show" (subject))
-(declare-function notmuch-show-spaces-n "notmuch-show" (n))
(declare-function notmuch-read-query "notmuch" (prompt))
-(declare-function notmuch-read-tag-changes "notmuch" (current-tags &optional prompt initial-input))
-(declare-function notmuch-update-tags "notmuch" (current-tags tag-changes))
-(declare-function notmuch-hello-trim "notmuch-hello" (search))
-(declare-function notmuch-search-find-thread-id "notmuch" ())
+(declare-function notmuch-search-find-thread-id "notmuch" (&optional bare))
(declare-function notmuch-search-find-subject "notmuch" ())
;; the following variable is defined in notmuch.el