Hi Jan, 2015ko azaroak 3an, Jan Malakhovski-ek idatzi zuen: > > * lisp/ob-calc.el (org-babel-calc-eval-string): Clean up the stack after > expression > evaluation. > --- > lisp/ob-calc.el | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/lisp/ob-calc.el b/lisp/ob-calc.el > index e8b43e7..2656f27 100644 > --- a/lisp/ob-calc.el > +++ b/lisp/ob-calc.el > @@ -196,7 +196,9 @@ See `org-babel-calc-eval' for more info." > (mapc #'org-babel-calc-eval-line (split-string text "[\n\r]")) > (save-excursion > (with-current-buffer (get-buffer "*Calculator*") > - (calc-eval (calc-top 1))))) > + (prog1 > + (calc-eval (calc-top 1)
Are you missing a close paren at the end of the above line? Also, shouldn’t calc-eval take a string as an argument, not a lisp form? (I’m asking based on the docstring, I don’t know the calc API at all). -- Aaron Ecay