ox: Fix bug where properties read from setupfile overwrite previous properties
commit677433d9b4005da3d804bbc5a458d2174f1a460c
authorNicolas Goaziou <n.goaziou@gmail.com>
Tue, 26 Feb 2013 22:32:36 +0000 (26 23:32 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Tue, 26 Feb 2013 22:35:36 +0000 (26 23:35 +0100)
treefc32dee4385506a46b11f7dcace94a14089848f6
parent7604fe1e803a94553d90e36f6326bb9256ea446c
ox: Fix bug where properties read from setupfile overwrite previous properties

* lisp/ox.el (org-export--get-inbuffer-options): Remove an optional
  argument.  Rewrite function.  Properties read from a setupfile do
  not overwrite anymore previously computed properties.
(org-export-get-environment): Apply changes to previous function.
* lisp/org.el (org-create-formula--latex-header): Apply arity change
  from `org-export--get-inbuffer-options'.
* testing/lisp/test-ox.el: Add test.
* testing/examples/setupfile.org: New file.
lisp/org.el
lisp/ox.el
testing/examples/setupfile.org [new file with mode: 0644]
testing/lisp/test-ox.el