summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-01-04 16:15:33 +0100
committerBastien Guerry <bzg@altern.org>2011-01-04 16:15:33 +0100
commited824d4e46ca08ed505a7282920628fbb8ebee28 (patch)
treef3ee35ed6f2f4c8956d06f1306b1977fc4f87d61
parent881b73bd771b26ad8dd92baffb5b5dbe24d30631 (diff)
downloadorg-mode-ed824d4e46ca08ed505a7282920628fbb8ebee28.tar.gz
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.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 5efcc06..5eb0bc8 100644
--- a/lisp/org.el
+++ b/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