summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-12 23:23:47 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-12 23:23:47 -0500
commit7a24779b53f6adddf2558717f192415e951d34e9 (patch)
tree16f2c24f8a234a53ccb36519387eb9b07b94009c
parenta398b62b8b7acee4b0b6f9eb0107fc9ef9b3961d (diff)
downloademacs.d-7a24779b53f6adddf2558717f192415e951d34e9.tar.gz
Remove unnecessary lambdas from yas hooks
-rw-r--r--lisp/init-yas.el9
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)