>From c2a506dd076d0ddb4a7eb925ff5276fdd60abe58 Mon Sep 17 00:00:00 2001 From: Simon Thum Date: Mon, 7 May 2012 21:05:16 +0200 Subject: [PATCH] fix maxima invocation without explicit parameters 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..fdd0804 100644 --- a/lisp/ob-maxima.el +++ b/lisp/ob-maxima.el @@ -73,7 +73,7 @@ called by `org-babel-execute-src-block'." (let* ((cmdline (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))) + org-babel-maxima-command in-file (if cmdline cmdline "")))) (with-temp-file in-file (insert (org-babel-maxima-expand body params))) (message cmd) ((lambda (raw) ;; " | grep -v batch | grep -v 'replaced' | sed '/^$/d' " -- 1.7.3.4