[PATCH 5/6] emacs: change name of search-archive-thread function to just search-archive
Jameson Graef Rollins
jrollins at finestructure.net
Mon Apr 2 01:20:52 PDT 2012
This changes the name of this function to be more consistent with the
current thread tagging functions. The documentation is also updated
and improved.
---
emacs/notmuch.el | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index e1bff42..19423ea 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -289,7 +289,7 @@ For a mouse binding, return nil."
(define-key map "f" 'notmuch-search-filter)
(define-key map [mouse-1] 'notmuch-search-show-thread)
(define-key map "*" 'notmuch-search-tag-all)
- (define-key map "a" 'notmuch-search-archive-thread)
+ (define-key map "a" 'notmuch-search-archive)
(define-key map "-" 'notmuch-search-remove-tag)
(define-key map "+" 'notmuch-search-add-tag)
(define-key map (kbd "RET") 'notmuch-search-show-thread)
@@ -667,10 +667,10 @@ tab completion)."
(interactive)
(notmuch-search-tag "-"))
-(defun notmuch-search-archive-thread ()
- "Archive the currently selected thread (remove its \"inbox\" tag).
+(defun notmuch-search-archive ()
+ "Archive the currently selected thread or region (remove \"inbox\" tags).
-This function advances the next thread when finished."
+The cursor is advanced to the next thread after tagging."
(interactive)
(notmuch-search-tag "-inbox")
(notmuch-search-next-thread))
--
1.7.9.1
More information about the notmuch
mailing list