branch: elpa/julia-mode commit b24410f30b543fe40500d9130fa3df3710114686 Author: Adam Beckmeyer <adam_...@thebeckmeyers.xyz> Commit: Adam Beckmeyer <adam_...@thebeckmeyers.xyz>
Allow user to set multiple arguments to inferior julia Also fix the call to make-comint-in-buffer so that it's passing the arguments to julia rather than treating the first argument as the STARTFILE. --- julia-mode.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/julia-mode.el b/julia-mode.el index dba9e38..696fbcb 100644 --- a/julia-mode.el +++ b/julia-mode.el @@ -3224,7 +3224,7 @@ strings." (defcustom julia-arguments '() "Commandline arguments to pass to `julia-program'." - :type 'string + :type '(repeat (string :tag "argument")) :group 'julia) (defvar julia-prompt-regexp "^\\w*> " @@ -3244,7 +3244,8 @@ strings." (let ((julia-program julia-program) (buffer (get-buffer-create "*Julia*"))) (when (not (comint-check-proc "*Julia*")) - (apply #'make-comint-in-buffer "Julia" "*Julia*" julia-program julia-arguments)) + (apply #'make-comint-in-buffer "Julia" "*Julia*" + julia-program nil julia-arguments)) (pop-to-buffer-same-window "*Julia*") (inferior-julia-mode)))