mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
emacs: Correct the documentation for notmuch-search-add-tag (and -remove-tag)
These commands act on all messages in the thread, not simply those that match the search. (There are use case for both behaviors, but the documentation must match the behavior that's actually implemented).
This commit is contained in:
parent
4c9585933e
commit
fec5622add
1 changed files with 4 additions and 5 deletions
|
@ -532,12 +532,11 @@ and will also appear in a buffer named \"*Notmuch errors*\"."
|
||||||
(notmuch-search-set-tags (delete tag (notmuch-search-get-tags)))
|
(notmuch-search-set-tags (delete tag (notmuch-search-get-tags)))
|
||||||
(forward-line))))))
|
(forward-line))))))
|
||||||
|
|
||||||
|
|
||||||
(defun notmuch-search-add-tag (tag)
|
(defun notmuch-search-add-tag (tag)
|
||||||
"Add a tag to the currently selected thread or region.
|
"Add a tag to the currently selected thread or region.
|
||||||
|
|
||||||
The tag is added to messages in the currently selected thread or
|
The tag is added to all messages in the currently selected thread
|
||||||
region which match the current search terms."
|
or threads in the current region."
|
||||||
(interactive
|
(interactive
|
||||||
(list (notmuch-select-tag-with-completion "Tag to add: ")))
|
(list (notmuch-select-tag-with-completion "Tag to add: ")))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
|
@ -550,8 +549,8 @@ region which match the current search terms."
|
||||||
(defun notmuch-search-remove-tag (tag)
|
(defun notmuch-search-remove-tag (tag)
|
||||||
"Remove a tag from the currently selected thread or region.
|
"Remove a tag from the currently selected thread or region.
|
||||||
|
|
||||||
The tag is removed from all messages in the currently selected thread
|
The tag is removed from all messages in the currently selected
|
||||||
or region which match the current search terms."
|
thread or threads in the current region."
|
||||||
(interactive
|
(interactive
|
||||||
(list (notmuch-select-tag-with-completion
|
(list (notmuch-select-tag-with-completion
|
||||||
"Tag to remove: "
|
"Tag to remove: "
|
||||||
|
|
Loading…
Reference in a new issue