diff lisp/textmodes/org.el @ 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 fca8faa8f94c
children 4df24233cf1e 138ce2701550
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)