mirror of https://github.com/djcb/mu.git
* mu4e: retagging: +/- are only special at the beginning of terms (thanks to seanfarley)
This commit is contained in:
parent
ceeba6e18e
commit
b7332b923e
|
@ -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)))))
|
||||
|
|
Loading…
Reference in New Issue