Bufix: remove useless whitespace added after planning.

(org-add-planning-info): Bufix: remove useless whitespace
added after planning.
This commit is contained in:
Bastien Guerry 2011-07-11 12:23:47 +02:00
parent 6b12ff2e2f
commit badec64cbf
1 changed files with 2 additions and 1 deletions

View File

@ -11868,7 +11868,8 @@ be removed."
nil nil (list org-end-time-was-given))) nil nil (list org-end-time-was-given)))
(insert (insert
(if (not (or (bolp) (eq (char-before) ?\ ) (if (not (or (bolp) (eq (char-before) ?\ )
(eq (char-after) ?\ ))) " " "")) (memq (char-after) '(32 10))
(eobp))) " " ""))
(end-of-line 1)) (end-of-line 1))
(goto-char (point-min)) (goto-char (point-min))
(widen) (widen)