From 288ffa15f55ccdeb7156ab5749034aad100a05fb Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 31 Aug 2014 11:43:38 +0200 Subject: [PATCH] Fix failing tests * lisp/org.el (org--align-node-property): Properly align properties with empty values. --- lisp/org.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 72a306bcb..bc8996889 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -22469,7 +22469,9 @@ Alignment is done according to `org-property-format', which see." (looking-at org-property-re)) (replace-match (concat (match-string 4) - (format org-property-format (match-string 1) (match-string 3))) + (if (match-string 3) + (format org-property-format (match-string 1) (match-string 3)) + (match-string 1))) t t))) (defun org-indent-line () -- 2.11.4.GIT