Browse Source

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

Bastien Guerry 14 years ago
parent
commit
43a380708e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lisp/org.el

+ 3 - 0
lisp/org.el

@@ -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)