From 1421887cde0e60632851d9695af6971ac27fde1b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 29 Aug 2011 23:06:35 +0200 Subject: [PATCH] ob-asymptote: small fix * lisp/ob-asymptote.el (org-babel-asymptote-define-type): elisp floats are asymptote reals. --- lisp/ob-asymptote.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ob-asymptote.el b/lisp/ob-asymptote.el index 0e9b44992..89aecb7eb 100644 --- a/lisp/ob-asymptote.el +++ b/lisp/ob-asymptote.el @@ -150,7 +150,7 @@ Empty cells are ignored." DATA is a list. Return type as a symbol. The type is `string' if any element in DATA is -a string. Otherwise, it is either `float', if some elements are +a string. Otherwise, it is either `real', if some elements are floats, or `int'." (let* ((type 'int) (find-type @@ -159,7 +159,7 @@ floats, or `int'." (mapc (lambda (el) (cond ((listp el) (funcall find-type el)) ((stringp el) (throw 'exit (setq type 'string))) - ((floatp el) (setq type 'float)))) + ((floatp el) (setq type 'real)))) row))))) (funcall find-type data) type)) -- 2.11.4.GIT