org-element: Fix `org-element-normalize-contents'
commit5ada73aef659442fa8cd8c226ad26194a4f25129
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 12 Jan 2017 13:33:17 +0000 (12 14:33 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 12 Jan 2017 13:33:17 +0000 (12 14:33 +0100)
tree8fc6af674a34bb5809317786c20a9b33a376c997
parent1d57c5670aab85162cf3589ad90624d2dbc7a52f
org-element: Fix `org-element-normalize-contents'

* lisp/org-element.el (org-element-normalize-contents): Fix return
  value when any line after the first has no indentation.
* testing/lisp/test-org-element.el (test-org-element/normalize-contents):
  Add test.
lisp/org-element.el
testing/lisp/test-org-element.el