mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-27 10:55:04 +00:00
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.
This commit is contained in:
parent
d7a8b6636a
commit
ce3aa4ab2b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user