--- a/.emacs-obsolete Fri Apr 01 18:30:40 2016 +0300
+++ b/.emacs-obsolete Fri Apr 01 18:32:20 2016 +0300
@@ -217,3 +217,16 @@
(jdone-setup-key-binding)
(jdone-integrate-hook)
)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(message "yasnippet")
+
+(setq my-yas-root-directory "~/.emacs.d/my-yas")
+(setq yas/ignore-filenames-as-triggers t)
+
+;; (my--eval-after-load yasnippet
+;; (cond
+;; ((listp yas/root-directory) (add-to-list 'yas/root-directory my-yas-root-directory))
+;; ((stringp yas/root-directory) (setq yas/root-directory (list my-yas-root-directory yas/root-directory)))
+;; (t (error "I expect that yas/root-directory is a list of string")) )
+;; (mapc 'yas/load-directory yas/root-directory))