org-element: Interpret headlines according to `org-odd-levels-only'
commit2e5b3dede103bba0071144ec7b7fc250471c1463
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 28 Aug 2014 09:07:24 +0000 (28 11:07 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 28 Aug 2014 09:07:24 +0000 (28 11:07 +0200)
tree6782ace8c6a11d5f5a41393e214cdd6d2d201e86
parent42271d8c4357172e2a1d0f5eda132f789c1b56bb
org-element: Interpret headlines according to `org-odd-levels-only'

* lisp/org-element.el (org-element-headline-interpreter): Take into
  consideration `org-odd-levels-only' value.  Small refactoring.

* testing/lisp/test-org-element.el (test-org-element/headline-interpreter):
  Add test.
lisp/org-element.el
testing/lisp/test-org-element.el