fixed #228 - restored prelude-personal-snippets-directory
This commit is contained in:
parent
8cdce659ef
commit
7cbb23e77e
2 changed files with 4 additions and 1 deletions
4
init.el
4
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.")
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue