yasnippet does not complete snippets that I add to yas/root-directory
(typing the key and hitting tab does not complete).
If I remove .yas-compiled-snippets.el
from an affected directory, then run yas/recompile-all
then yas/reload-all
, I can temporarily use the snippets in that directory. This works for one emacs session, but when I start emacs again, yasnippet again does not recognize the extra snippets.
How can I make the configuration "stick" across runs of emacs?
My yasnippet configuration is like this:
(require 'yasnippet)
(yas/initialize)
(add-hook 'python-mode-hook '(lambda ()
(yas-minor-mode)))
(add-to-list 'yas/root-directory "/path/to/elisp/yasnippet-snippets/")
(add-to-list 'yas/root-directory "/path/to/elisp/yasnippet-extra-snippets/")