diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2014-08-31 11:43:38 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2014-08-31 11:43:38 +0200 |
commit | 288ffa15f55ccdeb7156ab5749034aad100a05fb (patch) | |
tree | a37f8adb0f3e08a1835a28bf6ed5f09c992d0311 | |
parent | d2643be6d8c0e2fd54a673117cf09e332ec18e01 (diff) | |
download | org-mode-288ffa15f55ccdeb7156ab5749034aad100a05fb.tar.gz |
Fix failing tests
* lisp/org.el (org--align-node-property): Properly align properties
with empty values.
-rwxr-xr-x | lisp/org.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 72a306b..bc89968 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 () |