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 năm trước cách đây
mục cha
commit
203f4c9b05
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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