From a398b62b8b7acee4b0b6f9eb0107fc9ef9b3961d Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 12 Feb 2014 23:23:18 -0500 Subject: 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. --- lisp/init-yas.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') 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 () -- cgit v1.2.3