summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-01 19:15:48 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-02 22:47:08 -0500
commitf62cf377f1d5bf10a7927a3c1ab79144f83d1eeb (patch)
treeebc87ef163db884020968d9947f7b52e998bcde3 /lisp
parent831c69beda4b6803f8b0ddd8f19c187782c1d7bc (diff)
downloademacs.d-f62cf377f1d5bf10a7927a3c1ab79144f83d1eeb.tar.gz
Use auto-complete as yas fallback in Python 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)