org-export: Internal changes to back-end definition
commit3d56f5639936b38efd2f7a8979850505dffc7aaa
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 12 Nov 2012 22:21:05 +0000 (12 23:21 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Tue, 13 Nov 2012 22:25:08 +0000 (13 23:25 +0100)
treee7ca6ef107eb1233a1eebc421f1cd672f0b48f94
parent0421be2cee10e9c00510f776f90e1d21297edde3
org-export: Internal changes to back-end definition

* contrib/lisp/org-export.el (org-export-registered-backends): New
  variable.
(org-export-define-backend, org-export-define-derived-backend): Use
new variable. Also redefine how sub-menus are defined.
(org-export-backend-filters, org-export-backend-menu,
org-export-backend-options, org-export-backend-translate-table): New
functions.
(org-export-get-environment, org-export--parse-option-keyword,
org-export--get-subtree-options, org-export--get-inbuffer-options,
org-export--get-global-options, org-export-install-filters,
org-export-with-backend): Access to data stored in new variable.
(org-export-dispatch-ui): Display sub-menus according to new
definition.
(org-export-dispatch-menu-entries): Removed variable.
* contrib/lisp/org-e-beamer.el: Use new sub-menu definition.
(org-e-beamer--format-section, org-e-beamer-item,
org-e-beamer-keyword): Use `org-export-with-backend' instead of
relying on removed variables.
* testing/lisp/test-org-export.el: Update tests.

This patch gets rid of "invisible" variables, that is variables
defvar'ed within a macro.
contrib/lisp/org-e-beamer.el
contrib/lisp/org-export.el
testing/lisp/test-org-export.el