From e2a16b6a6ba6736792f38cf6ede7bae3a66d4be6 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Tue, 29 Oct 2013 22:55:29 +0000 Subject: [PATCH] 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. --- contrib/notmuch-pick/notmuch-tree.el | 13 ++++--------- 1 file 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 -- 2.26.2