diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-yas.el | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lisp/init-yas.el b/lisp/init-yas.el index 5f6b17a..e85f375 100644 --- a/lisp/init-yas.el +++ b/lisp/init-yas.el @@ -3,12 +3,7 @@ (require 'yasnippet) (yas-reload-all) -(add-hook 'prog-mode-hook - '(lambda () - (yas-minor-mode))) - -(add-hook 'LaTeX-mode-hook - '(lambda () - (yas-minor-mode))) +(add-hook 'prog-mode-hook 'yas-minor-mode) +(add-hook 'LaTeX-mode-hook 'yas-minor-mode) (provide 'init-yas) |