Acutally enable elpy.

This commit is contained in:
Ivan Malison 2015-08-05 11:04:28 -07:00
parent ca6e40ccad
commit 1617271daf

View File

@ -1609,6 +1609,7 @@ window is active in the perspective."
:commands elpy-enable :commands elpy-enable
:config :config
(progn (progn
(elpy-enable)
(unbind-key "M-*" elpy-mode-map) (unbind-key "M-*" elpy-mode-map)
(bind-key "M-," 'pop-tag-mark elpy-mode-map))) (bind-key "M-," 'pop-tag-mark elpy-mode-map)))
@ -1631,7 +1632,7 @@ window is active in the perspective."
(setq show-trailing-whitespace t) (setq show-trailing-whitespace t)
(if use-python-tabs (python-tabs)) (if use-python-tabs (python-tabs))
(subword-mode t) (subword-mode t)
(elpy-enable) (elpy-mode)
;; Will this work with elpy. Seems like elpy has its own ;; Will this work with elpy. Seems like elpy has its own
;; mechanism for handling this ;; mechanism for handling this
;; (add-virtual-envs-to-jedi-server) ;; (add-virtual-envs-to-jedi-server)