summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-12 23:23:18 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-12 23:23:18 -0500
commita398b62b8b7acee4b0b6f9eb0107fc9ef9b3961d (patch)
tree6a17372983d4a41dd297bd6dcc1fdeb835dbaadd
parente9629834af00597966ec8e95656369a7d4bc61a0 (diff)
downloademacs.d-a398b62b8b7acee4b0b6f9eb0107fc9ef9b3961d.tar.gz
Fix `yas-reload-all' call
This was not getting ran because "yasnippet", not "yas", should be passed to `eval-after-load'. But using `eval-after-load' here is pointless because `prog-mode-hook' will be called during initialization anwyway.
-rw-r--r--lisp/init-yas.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-yas.el b/lisp/init-yas.el
index aa3e7f7..5f6b17a 100644
--- a/lisp/init-yas.el
+++ b/lisp/init-yas.el
@@ -1,7 +1,7 @@
(require-package 'yasnippet)
-(eval-after-load 'yas
- '(yas-reload-all))
+(require 'yasnippet)
+(yas-reload-all)
(add-hook 'prog-mode-hook
'(lambda ()