summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-07-29 21:51:38 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-07-29 21:57:33 -0400
commit6cd7875af8f6f81df3476669e1b161be7aa73165 (patch)
treeb8c481a4e80794b380c926e3db960fea2d1ba461
parent88c0bcb53d442652187558a7a4541297e6489110 (diff)
downloademacs.d-6cd7875af8f6f81df3476669e1b161be7aa73165.tar.gz
Add yas snippet to latex mode hook
-rw-r--r--init/km-yas.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init/km-yas.el b/init/km-yas.el
index 52fdb8a..4787527 100644
--- a/init/km-yas.el
+++ b/init/km-yas.el
@@ -5,3 +5,7 @@
(add-hook 'prog-mode-hook
'(lambda ()
(yas-minor-mode)))
+
+(add-hook 'LaTeX-mode-hook
+ '(lambda ()
+ (yas-minor-mode)))