summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-11-03 17:18:04 -0800
committerCarl Worth <cworth@cworth.org>2009-11-03 17:18:04 -0800
commite0b830410aa1c64942a50ca7dd46bee9a496d86d (patch)
treeaf46c117881e5fa25b0db08bb8373ed6870f886a
parentc4ea149a9bc3a0a49d58e956cf35a96210f4ad1e (diff)
notmuch.el: Make archive-thread advance to next line.
This is the command in notmuch-search mode and it's cer convenient for it to advance to the next line there. (It would be even more convenient if it didn't also take forever, but as mentioned before that's an issue we'll need to fix in Xapian.)
-rw-r--r--notmuch.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/notmuch.el b/notmuch.el
index 989450a..0050dd9 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -445,8 +445,12 @@ Does nothing if already on the first message in the buffer."
(notmuch-search-set-tags (delete tag (notmuch-search-get-tags))))
(defun notmuch-search-archive-thread ()
+ "Archive the current thread (remove its \"inbox\" tag).
+
+This function advances point to the next line when finished."
(interactive)
- (notmuch-search-remove-tag "inbox"))
+ (notmuch-search-remove-tag "inbox")
+ (next-line))
(defun notmuch-search (query)
"Run \"notmuch search\" with the given query string and display results."