From 48224ff3a2dcdcd67cd18fe4a0a038db0a716bd9 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 12 Apr 2015 00:43:32 -0400 Subject: Disable jedi in Python mode This seems to be interfering with reverting Python buffers. I haven't looked into this further yet. --- lisp/init-python.el | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lisp/init-python.el') diff --git a/lisp/init-python.el b/lisp/init-python.el index 3a4551c..da647ef 100644 --- a/lisp/init-python.el +++ b/lisp/init-python.el @@ -1,15 +1,10 @@ (setq python-fill-docstring-style 'pep-257-nn) -(setq jedi:tooltip-method nil - ac-auto-start nil) - (setq python-shell-interpreter "ipython") (add-to-list 'interpreter-mode-alist '("python2" . python-mode)) (add-to-list 'interpreter-mode-alist '("python3" . python-mode)) -(add-hook 'python-mode-hook 'jedi:setup) -(add-hook 'python-mode-hook 'auto-complete-mode) (add-hook 'python-mode-hook (lambda () (add-hook @@ -17,8 +12,6 @@ #'km/python-indent-post-self-insert-function 'append 'local))) (defun km/python-hook () - (set (make-local-variable 'yas-fallback-behavior) - '(apply auto-complete)) ;; Stop semantic from taking over imenu. (setq imenu-create-index-function #'python-imenu-create-index) (set (make-local-variable 'compile-command) "py.test")) -- cgit v1.2.3