org.el: don't try to remove space in comma-separated tags.

No space is allowed in the prompt, trying to remove them is
confusing when reading the code.
This commit is contained in:
Bastien Guerry 2011-01-04 16:15:33 +01:00
parent 881b73bd77
commit ed824d4e46

View file

@ -12776,7 +12776,7 @@ With prefix ARG, realign all tags in headings in the current buffer."
;; No boolean logic, just a list
(setq tags (replace-match ":" t t tags))))
(setq tags (replace-regexp-in-string "[ ,]" ":" tags))
(setq tags (replace-regexp-in-string "[,]" ":" tags))
(if org-tags-sort-function
(setq tags (mapconcat 'identity