mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Extract ipython/jupyter arglist to variables
Also fixes #1022 by removing default --pylab arg from +python/open-ipython-repl.
This commit is contained in:
@ -27,7 +27,7 @@
|
||||
"Open an IPython REPL."
|
||||
(interactive)
|
||||
(let ((python-shell-interpreter "ipython")
|
||||
(python-shell-interpreter-args "-i --pylab --simple-prompt --no-color-info"))
|
||||
(python-shell-interpreter-args +python-jupyter-repl-args))
|
||||
(+python/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 "console --simple-prompt"))
|
||||
(python-shell-interpreter-args (format "console %s" +python-jupyter-repl-args)))
|
||||
(+python/repl)))
|
||||
|
||||
(defun +python--extract-version (prefix str)
|
||||
|
Reference in New Issue
Block a user