mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
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.)
This commit is contained in:
parent
c4ea149a9b
commit
e0b830410a
1 changed files with 5 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue