From f62cf377f1d5bf10a7927a3c1ab79144f83d1eeb Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 1 Feb 2015 19:15:48 -0500 Subject: Use auto-complete as yas fallback in Python mode --- lisp/init-python.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp/init-python.el') 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) -- cgit v1.2.3