aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-04-07 13:15:27 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-04-07 13:15:27 -0700
commitfec5622add1a4e9f305c16e96143439ee22a5c58 (patch)
treee00edb57ade8b999dbb5c91ee41f81e623c13b5f
parent4c9585933ee1adf03dc0153f5a7d55bcd205d245 (diff)
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).
-rw-r--r--emacs/notmuch.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 64f3e3da..517c53a5 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -532,12 +532,11 @@ and will also appear in a buffer named \"*Notmuch errors*\"."
(notmuch-search-set-tags (delete tag (notmuch-search-get-tags)))
(forward-line))))))
-
(defun notmuch-search-add-tag (tag)
"Add a tag to the currently selected thread or region.
-The tag is added to messages in the currently selected thread or
-region which match the current search terms."
+The tag is added to all messages in the currently selected thread
+or threads in the current region."
(interactive
(list (notmuch-select-tag-with-completion "Tag to add: ")))
(save-excursion
@@ -550,8 +549,8 @@ region which match the current search terms."
(defun notmuch-search-remove-tag (tag)
"Remove a tag from the currently selected thread or region.
-The tag is removed from all messages in the currently selected thread
-or region which match the current search terms."
+The tag is removed from all messages in the currently selected
+thread or threads in the current region."
(interactive
(list (notmuch-select-tag-with-completion
"Tag to remove: "