fix compiler warning in ob-maxima.el

* lisp/ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
This commit is contained in:
Eric Schulte 2012-01-05 10:31:30 -07:00
parent 647996c0a3
commit ded376f756
1 changed files with 3 additions and 3 deletions

View File

@ -63,9 +63,9 @@
"Execute a block of Maxima entries with org-babel. This function is "Execute a block of Maxima entries with org-babel. This function is
called by `org-babel-execute-src-block'." called by `org-babel-execute-src-block'."
(message "executing Maxima source code block") (message "executing Maxima source code block")
(let ((result (let ((result-params (split-string (or (cdr (assoc :results params)) "")))
(let* ((result-params (split-string (or (cdr (assoc :results params)) ""))) (result
(cmdline (cdr (assoc :cmdline params))) (let* ((cmdline (cdr (assoc :cmdline params)))
(in-file (org-babel-temp-file "maxima-" ".max")) (in-file (org-babel-temp-file "maxima-" ".max"))
(cmd (format "maxima --very-quiet -r 'batchload(%S)$' %s" (cmd (format "maxima --very-quiet -r 'batchload(%S)$' %s"
in-file cmdline))) in-file cmdline)))