Browse Source

Fix "undefined symbol 'org-export-create-backend"

* lisp/org-table.el (orgtbl-to-generic): Make sure "ox.el" is loaded
  before converting a radio table.

Reported-by: Dave Marquardt <davemarq@linux.vnet.ibm.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/101642>
Nicolas Goaziou 9 years ago
parent
commit
609e1e28fb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lisp/org-table.el

+ 2 - 0
lisp/org-table.el

@@ -4782,6 +4782,8 @@ This may be either a string or a function of two arguments:
   example \"%s\\\\times10^{%s}\".  This may also be a property
   list with column numbers and format strings or functions.
   :fmt will still be applied after :efmt."
+  ;; Make sure `org-export-create-backend' is available.
+  (require 'ox)
   (let* ((backend (plist-get params :backend))
 	 (custom-backend
 	  ;; Build a custom back-end according to PARAMS.  Before