org-element: Implement `org-element-secondary-p'
commit0fd4245a439fa12b6931124b35c3606bd114df02
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 30 Nov 2013 14:23:07 +0000 (30 15:23 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 1 Dec 2013 16:05:34 +0000 (1 17:05 +0100)
tree0285b3838c4d3f17c8a2e283f01b846ea8be648b
parent0e376f2cd092dea026bdc0c0f6c0c820153a22f9
org-element: Implement `org-element-secondary-p'

* lisp/org-element.el (org-element-secondary-p): New function.
* lisp/ox.el (org-export-get-previous-element,
  org-export-get-next-element): Use new function.
* testing/lisp/test-org-element.el (test-org-element/secondary-p): New
  test.
lisp/org-element.el
lisp/ox.el
testing/lisp/test-org-element.el