org-element: Move archived tree handling out of org-element-map
commita87c463818dd22cb3a92c3a08ab1369f0afd7285
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 23 Feb 2012 10:24:58 +0000 (23 11:24 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 23 Feb 2012 10:24:58 +0000 (23 11:24 +0100)
treebac6e333d21c068dcbaca09c6f4289262ad7bf74
parent5e849070bee32684fda6e6b9d2b203508d6f9e0c
org-element: Move archived tree handling out of org-element-map

* contrib/lisp/org-element.el: Move archived tree handling out of
  org-element-map.
* contrib/lisp/org-export.el (org-export-get-ignore-list): Properly
  ignore archived with `org-export-with-archived-trees' set to
  `headline'.
* testing/contrib/lisp/test-org-export.el (test-org-export/handle-options):
  Add a test for that.
contrib/lisp/org-element.el
contrib/lisp/org-export.el
testing/contrib/lisp/test-org-export.el