From 7cbb23e77ec067bc58a72a2500354f3f21f49d7e Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sun, 9 Dec 2012 00:14:53 +0200 Subject: [PATCH] fixed #228 - restored prelude-personal-snippets-directory --- init.el | 4 +++- prelude/prelude-editor.el | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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