Fix failing tests

* lisp/org.el (org--align-node-property): Properly align properties
  with empty values.
This commit is contained in:
Nicolas Goaziou 2014-08-31 11:43:38 +02:00
parent d2643be6d8
commit 288ffa15f5
1 changed files with 3 additions and 1 deletions

View File

@ -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 ()