Browse Source

Remove space at eol in planning lines

Carsten Dominik 15 years ago
parent
commit
bf923fdb6f
2 changed files with 2 additions and 0 deletions
  1. 1 0
      lisp/ChangeLog
  2. 1 0
      lisp/org.el

+ 1 - 0
lisp/ChangeLog

@@ -2,6 +2,7 @@
 
 	* org.el (org-store-link): When in agenda buffer, link to
 	referenced entry.
+	(org-add-planning-info): Remove spaces at eol.
 
 	* org-macs.el (org-with-point-at): Add a `lisp-indent-function'
 	property.

+ 1 - 0
lisp/org.el

@@ -10194,6 +10194,7 @@ be removed."
 			     (re-search-forward org-closed-time-regexp nil t)))
 		(replace-match "")
 		(if (looking-at "--+<[^>]+>") (replace-match ""))
+		(skip-chars-backward " ")
 		(if (looking-at " +") (replace-match ""))))
 	    (goto-char (point-max))
 	    (when what