1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-03 08:30:03 +00:00

bind org-export-current-backend in generic exporter.

This is needed for org-export-preprocess-string to function correctly.
This commit is contained in:
Robert P. Goldman 2011-10-21 21:13:25 +00:00 committed by Bastien Guerry
parent 4bbdfd229d
commit 22ad7e845a

View File

@ -617,6 +617,7 @@ underlined headlines. The default is 3."
(buffer-substring
(if (org-region-active-p) (region-beginning) (point-min))
(if (org-region-active-p) (region-end) (point-max))))
(org-export-current-backend 'org-export-generic)
(lines (org-split-string
(org-export-preprocess-string
region