From: Carsten Dominik Date: Mon, 3 Jul 2006 10:57:35 +0000 (+0000) Subject: (org-set-tags): Keep single space after stars. X-Git-Tag: emacs-pretest-22.0.90~1756 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=00c8c617aad02d60098805d9480b083d92632ebc;p=emacs.git (org-set-tags): Keep single space after stars. --- diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el index 6a3fd27380a..79d526cbe76 100644 --- a/lisp/textmodes/org.el +++ b/lisp/textmodes/org.el @@ -8713,6 +8713,8 @@ With prefix ARG, realign all tags in headings in the current buffer." (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)