diff --git a/mu4e/mu4e-actions.el b/mu4e/mu4e-actions.el index e7354e46..04757824 100644 --- a/mu4e/mu4e-actions.el +++ b/mu4e/mu4e-actions.el @@ -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))