initialize yasnippet in what I believe is a "safer" way

This commit is contained in:
2011-10-05 11:54:13 +01:00
parent 5211216e71
commit 60bcf8a8ea

View File

@@ -121,8 +121,9 @@
;;
;; Configure Yasnippet
(yas/initialize)
(yas/load-directory "~/.emacs.d/snippets")
(when (require 'yasnippet nil 'noerror)
(yas/initialize)
(yas/load-directory "~/.emacs.d/snippets"))
;; Load and setup Escreen
(when (require 'escreen nil 'noerror)