summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.el b/init.el
index e4f8628..6e6d7b1 100644
--- a/init.el
+++ b/init.el
@@ -545,8 +545,12 @@
;; Python programming
(use-package elpy
:ensure py-autopep8
+ :defer t
+ :init
+ (elpy-enable)
:config
(add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save)
+ (setq elpy-rpc-python-command "python3")
(setq python-shell-interpreter "ptipython"
python-shell-interpreter-args "console --simple-prompt"
python-shell-prompt-detect-failure-warning nil)