浏览代码

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 年之前
父节点
当前提交
203f4c9b05
共有 1 个文件被更改,包括 1 次插入1 次删除
  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