diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-02-12 23:23:47 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-02-12 23:23:47 -0500 |
commit | 7a24779b53f6adddf2558717f192415e951d34e9 (patch) | |
tree | 16f2c24f8a234a53ccb36519387eb9b07b94009c /lisp | |
parent | a398b62b8b7acee4b0b6f9eb0107fc9ef9b3961d (diff) | |
download | emacs.d-7a24779b53f6adddf2558717f192415e951d34e9.tar.gz |
Remove unnecessary lambdas from yas hooks
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) |