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
1 changed files with 1 additions and 0 deletions

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