emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/julia-mode b24410f 279/352: Allow user to set multiple arg


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode b24410f 279/352: Allow user to set multiple arguments to inferior julia
Date: Sun, 29 Aug 2021 11:23:01 -0400 (EDT)

branch: elpa/julia-mode
commit b24410f30b543fe40500d9130fa3df3710114686
Author: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Commit: Adam Beckmeyer <adam_gpg@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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]