lang/python: fix ipython repl & change args type
+python-ipython-repl-args and +python-jupyter-repl-args are now lists, rather than strings.
This commit is contained in:
parent
fbce94cd20
commit
812c834970
2 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@
|
|||
"Open an IPython REPL."
|
||||
(interactive)
|
||||
(let ((python-shell-interpreter "ipython")
|
||||
(python-shell-interpreter-args +python-jupyter-repl-args))
|
||||
(python-shell-interpreter-args (string-join +python-ipython-repl-args " ")))
|
||||
(+python/open-repl)))
|
||||
|
||||
;;;###autoload
|
||||
|
@ -36,7 +36,7 @@
|
|||
(interactive)
|
||||
(add-to-list 'python-shell-completion-native-disabled-interpreters "jupyter")
|
||||
(let ((python-shell-interpreter "jupyter")
|
||||
(python-shell-interpreter-args (format "console %s" +python-jupyter-repl-args)))
|
||||
(python-shell-interpreter-args (format "console %s" (string-join +python-jupyter-repl-args " "))))
|
||||
(+python/open-repl)))
|
||||
|
||||
(defun +python--extract-version (prefix str)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue