# HG changeset patch # User Carsten Dominik # Date 1151924255 0 # Node ID f008b5943ba45903988b0b2aa87e7efa49c2c357 # Parent 3ce880f9bb94e8ccdac89b03ddd7c6efbf07f98d (org-set-tags): Keep single space after stars. diff -r 3ce880f9bb94 -r f008b5943ba4 lisp/textmodes/org.el --- 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)