diff options
author | Carl Worth <cworth@cworth.org> | 2009-11-09 13:45:11 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-09 13:45:11 -0800 |
commit | 97ef8a74c93fc24a65d97ae621f482450503db09 (patch) | |
tree | 546dfd3d83684593dd7cb22f25fcef5eb51b3e3e /notmuch.el | |
parent | 39429339624f8d29db8f523d52a81c70001ebebe (diff) |
notmuch.el: Fix add/remove tag from search buffers.
These were recently broken with the change of "notmuch search" to
prefix thread IDs with "thread:" rather than printing them raw.
Diffstat (limited to 'notmuch.el')
-rw-r--r-- | notmuch.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -759,12 +759,12 @@ and will also appear in a buffer named \"*Notmuch errors*\"." (defun notmuch-search-add-tag (tag) (interactive "sTag to add: ") - (notmuch-call-notmuch-process "tag" (concat "+" tag) (concat "thread:" (notmuch-search-find-thread-id))) + (notmuch-call-notmuch-process "tag" (concat "+" tag) (notmuch-search-find-thread-id)) (notmuch-search-set-tags (delete-dups (sort (cons tag (notmuch-search-get-tags)) 'string<)))) (defun notmuch-search-remove-tag (tag) (interactive "sTag to remove: ") - (notmuch-call-notmuch-process "tag" (concat "-" tag) (concat "thread:" (notmuch-search-find-thread-id))) + (notmuch-call-notmuch-process "tag" (concat "-" tag) (notmuch-search-find-thread-id)) (notmuch-search-set-tags (delete tag (notmuch-search-get-tags)))) (defun notmuch-search-archive-thread () |