Browse Source

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

This is needed for org-export-preprocess-string to function correctly.
Robert P. Goldman 13 years ago
parent
commit
22ad7e845a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/lisp/org-export-generic.el

+ 1 - 0
contrib/lisp/org-export-generic.el

@@ -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