Browse Source

fix compiler warning in ob-maxima.el

* lisp/ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
Eric Schulte 8 years ago
parent
commit
666feb9e98
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lisp/ob-maxima.el

+ 3 - 3
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)))