ob-asymptote: mixed-types tables default to string arrays
commit755f597a0531fd975d65edc32ba86a563b7fa797
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 29 Aug 2011 15:24:07 +0000 (29 17:24 +0200)
committerEric Schulte <schulte.eric@gmail.com>
Mon, 29 Aug 2011 17:56:25 +0000 (29 11:56 -0600)
tree71b9e39d999e2f737b7dd66e8f47fd4227d6865f
parentd6aa8ffa13c0070234a0a5a7860c201e00ed7b0c
ob-asymptote: mixed-types tables default to string arrays

* lisp/ob-asymptote.el (org-babel-asymptote-table-to-array): Require a
new argument TYPE specifying the detected type of array.  If it's a
string array, make sure every element is returned as a string. Also
improve doc-string.
(org-babel-asymptote-var-to-asymptote): Fill new argument.  Small
refactoring.
(org-babel-asymptote-define-type): Rewrite to avoid stopping search at
first float found, as strings have precedence over floats.
lisp/ob-asymptote.el