fix compiler warning in ob-maxima.el
* lisp/ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
This commit is contained in:
parent
647996c0a3
commit
ded376f756
|
@ -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)))
|
||||||
|
|
Loading…
Reference in New Issue