summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <eric.schulte@gmx.com>2012-07-20 08:33:19 -0600
committerEric Schulte <eric.schulte@gmx.com>2012-07-25 09:32:03 -0600
commitce3aa4ab2b4abbbca7870235f4f898ea9c4e590c (patch)
treede673fd43f13d91fb3e1a7edb65c36bd1d88349d
parentd7a8b6636a394af210fbc48d128437a4ba61fe1a (diff)
downloadorg-mode-ce3aa4ab2b4abbbca7870235f4f898ea9c4e590c.tar.gz
strip quotes from calc internal representations
This allows more calculations to be performed, but at what cost? * lisp/ob-calc.el (org-babel-execute:calc): Strip single quotes from calc internal representations.
-rw-r--r--lisp/ob-calc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-calc.el b/lisp/ob-calc.el
index f8ad7e3..8f94bcd 100644
--- a/lisp/ob-calc.el
+++ b/lisp/ob-calc.el
@@ -74,7 +74,7 @@
((listp res) (error "calc error \"%s\" on input \"%s\""
(cadr res) line))
(t (replace-regexp-in-string
- "'\\[" "["
+ "'" ""
(calc-eval
(math-evaluate-expr
;; resolve user variables, calc built in