Use run-python instead of python-shell-switch-to-shell
This commit is contained in:
parent
fb4a705dd3
commit
27caed7119
@ -1047,6 +1047,7 @@ Configure Java project sources:
|
||||
* Python
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook 'python-mode-hook #'lsp)
|
||||
(leader-def-key "sp" #'run-python)
|
||||
#+END_SRC
|
||||
|
||||
Elpy is a python IDE package:
|
||||
@ -1055,7 +1056,6 @@ Elpy is a python IDE package:
|
||||
:config
|
||||
(pyvenv-mode))
|
||||
|
||||
(leader-def-key "sp" #'python-shell-switch-to-shell)
|
||||
|
||||
(defun eshell/workon (name)
|
||||
(pyvenv-workon name))
|
||||
|
Loading…
Reference in New Issue
Block a user