org-export: Expand correctly {{{title}}} and such
commita2120a9d7325a86f8ef459d2c4d7e3327e5a365d
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 29 Oct 2012 12:42:30 +0000 (29 13:42 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Mon, 29 Oct 2012 13:01:20 +0000 (29 14:01 +0100)
tree8fa64d8ee2502455a071b3bc55b828efbdf9ffd6
parenta8c026cb26b7e2ed27d52e1637c3e219e163ec94
org-export: Expand correctly {{{title}}} and such

* contrib/lisp/org-export.el (org-export-as): Expand correctly
  {{{title}}} and such when they already contain a regular macro.
  This is done by expanding macros in two steps: at first regular
  macros,  then document specific macros.
(org-export-expand-macro): Remove function.
* testing/lisp/test-org-export.el: Add test.
contrib/lisp/org-export.el
testing/lisp/test-org-export.el