From 6f2ae5082c71aa8b1055a4b72982713221851652 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 15 Aug 2015 00:12:01 -0700 Subject: [PATCH] disable yas in term-mode --- dotfiles/emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index c6b6f460..a8bf3287 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -484,6 +484,7 @@ The current directory is assumed to be the project's root otherwise." (progn (yas-global-mode) (diminish 'yas-minor-mode) + (add-hook 'term-mode-hook (lambda() (yas-minor-mode -1))) (setq yas-prompt-functions (cons 'yas-ido-prompt (cl-delete 'yas-ido-prompt yas-prompt-functions)))))