From bde2348c9ecc87972d21a46a91d73ad3916650b8 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 3 Apr 2013 08:25:36 -0600 Subject: [PATCH] read code block values with earmuffs as Emacs Lisp * lisp/ob-core.el (org-babel-read): Read code block values with earmuffs as Emacs Lisp. --- lisp/ob-core.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index fea91d873..9b8e51673 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -2505,7 +2505,9 @@ appropriate." (if (and (stringp cell) (not (equal cell ""))) (or (org-babel-number-p cell) (if (and (not inhibit-lisp-eval) - (member (substring cell 0 1) '("(" "'" "`" "["))) + (member (substring cell 0 1) '("(" "'" "`" "[" "*")) + (or (not (equal (substring cell 0 1) "*")) + (equal (substring cell (- (length cell) 1)) "*"))) (eval (read cell)) (if (string= (substring cell 0 1) "\"") (read cell)