org-table: Fix radio tables containing macros
commit6d2ab4071960f8a7f20138291424b468722ab522
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 19 Sep 2015 11:25:12 +0000 (19 13:25 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 19 Sep 2015 11:25:12 +0000 (19 13:25 +0200)
tree3240a449cece7bb6d98fa105bae8ebce58f52a3c
parentc290921a0d3a90d7efb702e89c955421a6090116
org-table: Fix radio tables containing macros

* lisp/org-table.el (orgtbl-to-generic): Export macros as-is, even if
  they are undefined.
* testing/lisp/test-org-table.el (test-org-table/to-generic): Add test.

Radio tables are now using a minimal set-up for export.  In particular,
no macro is expanded, and no Babel code is executed.  If any of these is
needed, use `org-export-string-as' or `org-export-region-as' instead.

Reported-by: Mark Edgington <edgimar@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/100621>
lisp/org-table.el
testing/lisp/test-org-table.el