Permalink
Browse files

* mu4e: retagging: +/- are only special at the beginning of terms (th…

…anks to seanfarley)
  • Loading branch information...
1 parent ceeba6e commit b7332b923ead96e8a461ce9e4268e0a0c33f6f2b @djcb committed Mar 17, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 mu4e/mu4e-actions.el
View
@@ -206,9 +206,9 @@ store your org-contacts."
(dolist (tag (split-string-and-unquote retag) taglist)
(cond
- ((string-match "\\<\\+\\(.+\\)" tag)
+ ((string-match "^\\+\\(.+\\)" tag)
(setq taglist (push (match-string 1 tag) taglist)))
- ((string-match "\\<\\-\\(.+\\)" tag)
+ ((string-match "^\\-\\(.+\\)" tag)
(setq taglist (delete (match-string 1 tag) taglist)))
(t
(setq taglist (push tag taglist)))))

0 comments on commit b7332b9

Please sign in to comment.