bind org-export-current-backend in generic exporter.
This is needed for org-export-preprocess-string to function correctly.
This commit is contained in:
parent
4bbdfd229d
commit
22ad7e845a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue