* mu4e: retagging: +/- are only special at the beginning of terms (thanks to seanfarley)

This commit is contained in:
djcb 2013-03-17 11:27:42 +02:00
parent ceeba6e18e
commit b7332b923e
1 changed files with 2 additions and 2 deletions

View File

@ -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)))))