org.el: tiny fix to org-add-planning-info.

This commit is contained in:
Bastien Guerry 2011-07-02 15:23:25 +02:00
parent 5fb8c750fb
commit 43a380708e
1 changed files with 3 additions and 0 deletions

View File

@ -11851,6 +11851,9 @@ be removed."
(and (eq what 'closed) org-log-done-with-time))
(eq what 'closed)
nil nil (list org-end-time-was-given)))
(insert
(if (not (or (bolp) (eq (char-before) ?\ )
(eq (char-after) ?\ ))) " " ""))
(end-of-line 1))
(goto-char (point-min))
(widen)