diff --git a/init.el b/init.el index 24136f9..f0f565e 100644 --- a/init.el +++ b/init.el @@ -48,7 +48,9 @@ by Prelude.") "This directory house Emacs Lisp packages that are not yet available in ELPA (or MELPA).") (defvar prelude-snippets-dir (expand-file-name "snippets" prelude-dir) - "This folder houses addition yasnippet bundles distributed with Prelude.") + "This folder houses additional yasnippet bundles distributed with Prelude.") +(defvar prelude-personal-snippets-dir (expand-file-name prelude-personal-dir "snippets") + "This folder houses additional yasnippet bundles added by the users.") (defvar prelude-savefile-dir (expand-file-name "savefile" prelude-dir) "This folder stores all the automatically generated save/history-files.") diff --git a/prelude/prelude-editor.el b/prelude/prelude-editor.el index 560d015..a2f8b43 100644 --- a/prelude/prelude-editor.el +++ b/prelude/prelude-editor.el @@ -219,6 +219,7 @@ ;; load yasnippet (require 'yasnippet) (add-to-list 'yas-snippet-dirs prelude-snippets-dir) +(add-to-list 'yas-snippet-dirs prelude-personal-snippets-dir) (yas-global-mode 1) ;; projectile is a project management mode