Merge pull request #2786 from mstenek/master

mu4e-actions: ensure empty tag removal on message retagging.
This commit is contained in:
Dirk-Jan C. Binnema
2024-11-14 13:24:21 +02:00
committed by GitHub

View File

@ -215,7 +215,7 @@ would add \"tag\" and \"long tag\", and remove \"oldtag\"."
(t
(setq taglist (push tag taglist)))))
(setq taglist (sort (delete-dups taglist) 'string<))
(setq taglist (delete "" (sort (delete-dups taglist) 'string<)))
(setq tagstr (mapconcat 'identity taglist sep))
(setq tagstr (replace-regexp-in-string "[\\&]" "\\\\\\&" tagstr))