From b7332b923ead96e8a461ce9e4268e0a0c33f6f2b Mon Sep 17 00:00:00 2001 From: djcb Date: Sun, 17 Mar 2013 11:27:42 +0200 Subject: [PATCH] * mu4e: retagging: +/- are only special at the beginning of terms (thanks to seanfarley) --- mu4e/mu4e-actions.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mu4e/mu4e-actions.el b/mu4e/mu4e-actions.el index eab28f58..a8b9f2ba 100644 --- a/mu4e/mu4e-actions.el +++ b/mu4e/mu4e-actions.el @@ -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)))))