Browse Source

ox: Fix "wrong-type-argument" error in template insertion

* lisp/ox.el (org-export-insert-default-template): Fix
  "wrong-type-argument" error in template insertion.

Thanks to Eric Abrahamsen for reporting this.
Nicolas Goaziou 11 years ago
parent
commit
203f4c9b05
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox.el

+ 1 - 1
lisp/ox.el

@@ -3182,7 +3182,7 @@ locally for the subtree through node properties."
 			 ((org-export-backend-p backend)
 			  (org-export-get-all-options backend))
 			 (t (org-export-get-all-options
-			     (org-export-backend-name backend)))))
+			     (org-export-get-backend backend)))))
       (let ((keyword (nth 1 entry))
             (option (nth 2 entry)))
         (cond