forked from mirrors/org-mode
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:
parent
881b73bd77
commit
ed824d4e46
|
@ -12776,7 +12776,7 @@ With prefix ARG, realign all tags in headings in the current buffer."
|
||||||
;; No boolean logic, just a list
|
;; No boolean logic, just a list
|
||||||
(setq tags (replace-match ":" t t tags))))
|
(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
|
(if org-tags-sort-function
|
||||||
(setq tags (mapconcat 'identity
|
(setq tags (mapconcat 'identity
|
||||||
|
|
Loading…
Reference in a new issue