summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <eric.schulte@gmx.com>2012-01-05 10:31:30 -0700
committerEric Schulte <eric.schulte@gmx.com>2012-01-05 10:44:11 -0700
commit666feb9e985b3c55b688c95e06e232b041f94bee (patch)
tree2731ad19179ae3f5dd0c9a1e71780cde10cbf42b
parentcc44ad5ae6f1de9568fb5f49cd32fc49f9bae675 (diff)
downloadorg-mode-666feb9e985b3c55b688c95e06e232b041f94bee.tar.gz
fix compiler warning in ob-maxima.el
* lisp/ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
-rw-r--r--lisp/ob-maxima.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ob-maxima.el b/lisp/ob-maxima.el
index 6955a77..74bcb06 100644
--- a/lisp/ob-maxima.el
+++ b/lisp/ob-maxima.el
@@ -63,9 +63,9 @@
"Execute a block of Maxima entries with org-babel. This function is
called by `org-babel-execute-src-block'."
(message "executing Maxima source code block")
- (let ((result
- (let* ((result-params (split-string (or (cdr (assoc :results params)) "")))
- (cmdline (cdr (assoc :cmdline params)))
+ (let ((result-params (split-string (or (cdr (assoc :results params)) "")))
+ (result
+ (let* ((cmdline (cdr (assoc :cmdline params)))
(in-file (org-babel-temp-file "maxima-" ".max"))
(cmd (format "maxima --very-quiet -r 'batchload(%S)$' %s"
in-file cmdline)))