Don't insert superfluous space when updating timestamps.

* org.el (org-add-planning-info): Don't insert superfluous
space when updating timestamps.

Thanks to Valentin Wüstholz for this patch.
This commit is contained in:
Bastien Guerry 2011-08-16 19:05:17 +02:00
parent afa408dcd6
commit 9d5c5c3d26
1 changed files with 1 additions and 1 deletions

View File

@ -11918,7 +11918,7 @@ be removed."
(re-search-forward org-closed-time-regexp nil t)))
(replace-match "")
(if (looking-at "--+<[^>]+>") (replace-match ""))))
(and (looking-at "^[ \t]+") (replace-match ""))
(and (looking-at "[ \t]+") (replace-match ""))
(and org-adapt-indentation (bolp) (org-indent-to-column col))
(when what
(insert