ox: Factorize export properties
commitb414b85a7cb2fb26a235b8fc7a37095aaaefb96a
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 5 Nov 2015 09:54:43 +0000 (5 10:54 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 5 Nov 2015 09:56:42 +0000 (5 10:56 +0100)
treef256c58f265b063bfbd5535a9942d3b4944fa361
parentf3292797579e9f2da1f7b3ac4c318a5282bdd3fa
ox: Factorize export properties

* lisp/ox.el (org-export-get-environment): Do not handle :back-end
  and :translate-alist.
(org-export--collect-tree-properties): Do not handle :exported-data.
(org-export--get-export-attributes): New function.
(org-export-as): Use new function.

* testing/lisp/test-ox.el (org-test-with-parsed-data): Use new function.
lisp/ox.el
testing/lisp/test-ox.el