Use `org-export-current-backend' whenever possible.
commit99675ffead44e32f4959909a657b88831fe33703
authorBastien Guerry <bzg@altern.org>
Tue, 1 Mar 2011 19:01:42 +0000 (1 20:01 +0100)
committerBastien Guerry <bzg@altern.org>
Tue, 1 Mar 2011 19:01:42 +0000 (1 20:01 +0100)
tree0f7e82a2e1daea8474043989d6b68791ca04e5cb
parent03a6844054e73d8f8f5e1f02f780d9129ff019fd
Use `org-export-current-backend' whenever possible.

* org-special-blocks.el
(org-special-blocks-make-special-cookies): Use
`org-export-current-backend'.

* org-publish.el (org-publish-aux-preprocess): Use
`org-export-current-backend'.

* org-inlinetask.el (org-inlinetask-export-handler): Use
`org-export-current-backend'.

* org-exp.el (org-export-current-backend): New variable.
(org-export-preprocess-string)
(org-export-format-drawer-function)
(org-export-remove-or-extract-drawers)
(org-export-format-drawer)
(org-export-convert-protected-spaces)
(org-export-select-backend-specific-text)
(org-export-mark-list-end, org-export-mark-list-properties)
(org-export-attach-captions-and-attributes)
(org-export-replace-src-segments-and-examples)
(org-export-format-source-code-or-example)
(org-export-number-lines): Use the new global variable instead
of a local variable.

* org-exp-blocks.el (org-export-blocks-format-ditaa)
(org-export-blocks-format-dot)
(org-export-blocks-format-comment): Use
`org-export-current-backend'.
lisp/org-exp-blocks.el
lisp/org-exp.el
lisp/org-inlinetask.el
lisp/org-publish.el
lisp/org-special-blocks.el