ソースを参照

Fix failing tests

* lisp/org.el (org--align-node-property): Fix failing tests.
Nicolas Goaziou 10 年 前
コミット
aaa70b90ef
1 ファイル変更2 行追加3 行削除
  1. 2 3
      lisp/org.el

+ 2 - 3
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 ()