changeset 71567:f008b5943ba4

(org-set-tags): Keep single space after stars.
author Carsten Dominik <dominik@science.uva.nl>
date Mon, 03 Jul 2006 10:57:35 +0000
parents 3ce880f9bb94
children 8d6af1c1c365
files lisp/textmodes/org.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/org.el	Mon Jul 03 10:57:16 2006 +0000
+++ b/lisp/textmodes/org.el	Mon Jul 03 10:57:35 2006 +0000
@@ -8713,6 +8713,8 @@
       (if (equal tags "")
 	  (save-excursion
 	    (beginning-of-line 1)
+	    (skip-chars-forward "*")
+	    (if (= (char-after) ?\ ) (forward-char 1))
 	    (and (re-search-forward "[ \t]+$" (point-at-eol) t)
 		 (replace-match "")))
 	(move-to-column (max (current-column)