From aaa70b90ef1395e1469e3c3ad94d7e390eeb944c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 2 Sep 2014 12:45:07 +0200 Subject: [PATCH] Fix failing tests * lisp/org.el (org--align-node-property): Fix failing tests. --- lisp/org.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index f343a6980..649808c03 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -22476,9 +22476,8 @@ Alignment is done according to `org-property-format', which see." (looking-at org-property-re)) (replace-match (concat (match-string 4) - (if (match-string 3) - (format org-property-format (match-string 1) (match-string 3)) - (match-string 1))) + (org-trim + (format org-property-format (match-string 1) (match-string 3)))) t t))) (defun org-indent-line ()