]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
modified yas-snippet-dirs
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 16 Dec 2016 10:59:37 +0000 (11:59 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 16 Dec 2016 10:59:37 +0000 (11:59 +0100)
- have the one of this git repo as default to store new snippets.

Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index 0e8bb89bcb9837778b9e98ef04cea830624e98b8..eb4b55a2c40933c4028272b00b9b21609527a5be 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -457,11 +457,10 @@ snippets for =aws cli= are awesome!
   (add-to-list 'load-path
               "~/.emacs.d/elpa/yasnippet-20161110.1226")
   (require 'yasnippet)
-  (setq yas-snippet-dirs '("~/.emacs.d/snippets"))
 
   (if (equal "work" (getenv "SYSENV"))
       (add-to-list 'yas-snippet-dirs "~/workorg/snippets"))
-
+  (add-to-list 'yas-snippet-dirs "~/.emacs.d/snippets")
   (yas/reload-all)
   (yas-global-mode 1)
   (setq yas-indent-line nil)