diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2011-03-02 07:55:39 -0700 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-03-02 07:55:39 -0700 |
commit | 60a8ba556d682849eafb0f84e689967cd2965549 (patch) | |
tree | cd0f65dfe63910fb1a08844e2ba3e708d0838c75 | |
parent | c6fd3f1a8ba8f93bb397430417a610df1627f30d (diff) | |
download | org-mode-60a8ba556d682849eafb0f84e689967cd2965549.tar.gz |
ob: read string variable values wrapped in double quotes, removing the quotes
* lisp/ob.el (org-babel-read): Read string variable values wrapped in
double quotes, removing the quotes.
-rw-r--r-- | lisp/ob.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1924,7 +1924,9 @@ appropriate." (if (and (not inhibit-lisp-eval) (member (substring cell 0 1) '("(" "'" "`" "["))) (eval (read cell)) - (progn (set-text-properties 0 (length cell) nil cell) cell))) + (if (string= (substring cell 0 1) "\"") + (read cell) + (progn (set-text-properties 0 (length cell) nil cell) cell)))) cell)) (defun org-babel-number-p (string) |