org-export: Internal modification to in-buffer options retrieval
commit6bde2dfd1a9d55e29e8657d6f6ef832ad43d440a
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 12 Feb 2012 20:28:51 +0000 (12 21:28 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 12 Feb 2012 20:33:05 +0000 (12 21:33 +0100)
treea4653c18e5245d6b16d1878cd463212b7475dd5a
parentdf0a988a92a4afdc935023e88e50964ce6a852e3
org-export: Internal modification to in-buffer options retrieval

* contrib/lisp/org-export.el (org-export-get-environment): Renamed
  function from org-export-collect-options.  Also make arguments
  optionals.
(org-export-as): Apply renaming.  Refactor code a bit.
(org-export-get-inbuffer-options): Remove string argument from
signature.  Backend is now optional.  Also, check if option match is
really a keyword.
(org-export-get-global-options, org-export-parse-option-keyword): Make
backend argument optional.
contrib/lisp/org-export.el