ox-org: Fix headline level during subtree export
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 6 Nov 2013 18:14:14 +0000 (19:14 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 6 Nov 2013 18:14:14 +0000 (19:14 +0100)
commit92f89eedbad33376ffbcc383f1167f8bfa11ca05
tree852e6e2fbca4b976e831339abc898f3c5a42fa41
parent4c04c13a189e6f6729d1ee9adae346ffc30522c4
ox-org: Fix headline level during subtree export

* lisp/org-element.el (org-element-headline-interpreter): Take into
  consideration `org-odd-levels-only' when building a headline.
* lisp/ox-org.el (org-org-headline): Correctly set transcoded headline
  level during subtree export.
lisp/org-element.el
lisp/ox-org.el