Browse Source

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.
Bastien Guerry 10 years ago
parent
commit
ed824d4e46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -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