summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-python.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-python.el b/lisp/init-python.el
index d05e71e..0b2c471 100644
--- a/lisp/init-python.el
+++ b/lisp/init-python.el
@@ -10,6 +10,8 @@
(add-hook 'python-mode-hook 'auto-complete-mode)
(defun km/python-hook ()
+ (set (make-local-variable 'yas-fallback-behavior)
+ '(apply auto-complete))
(set (make-local-variable 'compile-command) "py.test"))
(add-hook 'python-mode-hook 'km/python-hook)