mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
emacs: search archive tweak
notmuch-search-archive-thread moves to the next line after tagging. In the normal case this makes sense, but if the region is active, it tags the whole region and then it doesn't really. Thus only move to the next line if region is not active.
This commit is contained in:
parent
de262a2026
commit
ef819eb689
1 changed files with 2 additions and 1 deletions
|
@ -580,7 +580,8 @@ This function advances the next thread when finished."
|
|||
(when notmuch-archive-tags
|
||||
(notmuch-search-tag
|
||||
(notmuch-tag-change-list notmuch-archive-tags unarchive) beg end))
|
||||
(notmuch-search-next-thread))
|
||||
(when (eq beg end)
|
||||
(notmuch-search-next-thread)))
|
||||
|
||||
(defun notmuch-search-update-result (result &optional pos)
|
||||
"Replace the result object of the thread at POS (or point) by
|
||||
|
|
Loading…
Reference in a new issue