[PATCH 4/6] emacs: remove redundant notmuch-search-tag-thread function
Jameson Graef Rollins
jrollins at finestructure.net
Mon Apr 2 01:20:51 PDT 2012
Now that the notmuch-search-tag functions provides the exact same
functionality, this function is now entirely redundant. Keeping it
around would just be bloat and confusion. notmuch-search-tag should
now be the canonical function for search-mode tag changes.
The archive-thread function (which was the only function to use
tag-thread) is updating accordingly.
---
emacs/notmuch.el | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 3b78584..e1bff42 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -624,12 +624,6 @@ the messages that were tagged"
(forward-line 1))
output)))
-(defun notmuch-search-tag-thread (&rest tag-changes)
- "Change tags for the currently selected thread.
-
-See `notmuch-search-tag-region' for details."
- (apply 'notmuch-search-tag-region (point) (point) tag-changes))
-
(defun notmuch-search-tag-region (beg end &rest tag-changes)
"Change tags for threads in the given region.
@@ -678,7 +672,7 @@ tab completion)."
This function advances the next thread when finished."
(interactive)
- (notmuch-search-tag-thread "-inbox")
+ (notmuch-search-tag "-inbox")
(notmuch-search-next-thread))
(defvar notmuch-search-process-filter-data nil
--
1.7.9.1
More information about the notmuch
mailing list