Browse Source

ox: Fix f5161671ceb882b7a946d0632fbbf5c380952556

* lisp/ox.el (org-export-as): Use new back-end structure.
Nicolas Goaziou 11 years ago
parent
commit
d1d918100e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox.el

+ 1 - 1
lisp/ox.el

@@ -2972,7 +2972,7 @@ Return code as a string."
 	     (narrow-to-region (point) (point-max))))
       ;; Initialize communication channel with original buffer
       ;; attributes, unavailable in its copy.
-      (let* ((org-export-current-backend backend)
+      (let* ((org-export-current-backend (org-export-backend-name backend))
 	     (info (org-combine-plists
 		    (list :export-options
 			  (delq nil