>From 63e9747d81f07abdc05db2f7754c8f7adbb1b2c6 Mon Sep 17 00:00:00 2001 From: Simon Thum Date: Tue, 8 May 2012 13:31:11 +0200 Subject: [PATCH] Org-Babel: fix maxima invocation without explicit parameters v2: fix in the let form as suggested by Achim Gratz Signed-off-by: Simon Thum --- lisp/ob-maxima.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/ob-maxima.el b/lisp/ob-maxima.el index b092e13..21bae78 100644 --- a/lisp/ob-maxima.el +++ b/lisp/ob-maxima.el @@ -70,7 +70,7 @@ called by `org-babel-execute-src-block'." (message "executing Maxima source code block") (let ((result-params (split-string (or (cdr (assoc :results params)) ""))) (result - (let* ((cmdline (cdr (assoc :cmdline params))) + (let* ((cmdline (or (cdr (assoc :cmdline params)) "")) (in-file (org-babel-temp-file "maxima-" ".max")) (cmd (format "%s --very-quiet -r 'batchload(%S)$' %s" org-babel-maxima-command in-file cmdline))) -- 1.7.3.4