[notmuch] [PATCH 2/9] Adjust autoload comments
camalot at picnicpark.org
camalot at picnicpark.org
Fri Nov 27 05:30:08 PST 2009
From: Keith Amidon <keith at nicira.com>
The previous location of autoload comments didn't seem to correspond
with the functions most likely to be the entry points for using
notmuch. This change adjusts them to match those likely entry points.
---
notmuch.el | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index a1efa4f..6400199 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -707,8 +707,6 @@ view, (remove the \"inbox\" tag from each), with
mode-name "notmuch-show")
(setq buffer-read-only t))
-;;;###autoload
-
(defgroup notmuch nil
"Notmuch mail reader for Emacs."
:group 'mail)
@@ -1002,6 +1000,7 @@ This function advances point to the next line when finished."
(set 'more nil))))))
(delete-process proc))))
+;;;###autoload
(defun notmuch-search (query &optional oldest-first)
"Run \"notmuch search\" with the given query string and display results."
(interactive "sNotmuch search: ")
@@ -1081,6 +1080,8 @@ current search results AND that are tagged with the given tag."
(list (notmuch-select-tag-with-completion "Filter by tag: ")))
(notmuch-search (concat notmuch-search-query-string " and tag:" tag) notmuch-search-oldest-first))
+
+;;;###autoload
(defun notmuch ()
"Run notmuch to display all mail with tag of 'inbox'"
(interactive)
@@ -1156,6 +1157,7 @@ results for the search terms in that line.
(if search
(notmuch-search (cdr search) notmuch-search-oldest-first))))
+;;;###autoload
(defun notmuch-folder ()
"Show the notmuch folder view and update the displayed counts."
(interactive)
--
1.6.5.3
More information about the notmuch
mailing list