* mu4e: retagging: +/- are only special at the beginning of terms (thanks to seanfarley)
This commit is contained in:
@ -206,9 +206,9 @@ store your org-contacts."
|
|||||||
|
|
||||||
(dolist (tag (split-string-and-unquote retag) taglist)
|
(dolist (tag (split-string-and-unquote retag) taglist)
|
||||||
(cond
|
(cond
|
||||||
((string-match "\\<\\+\\(.+\\)" tag)
|
((string-match "^\\+\\(.+\\)" tag)
|
||||||
(setq taglist (push (match-string 1 tag) taglist)))
|
(setq taglist (push (match-string 1 tag) taglist)))
|
||||||
((string-match "\\<\\-\\(.+\\)" tag)
|
((string-match "^\\-\\(.+\\)" tag)
|
||||||
(setq taglist (delete (match-string 1 tag) taglist)))
|
(setq taglist (delete (match-string 1 tag) taglist)))
|
||||||
(t
|
(t
|
||||||
(setq taglist (push tag taglist)))))
|
(setq taglist (push tag taglist)))))
|
||||||
|
|||||||
Reference in New Issue
Block a user