* yasnippets are not loaded
@ 2011-11-18 10:27 Ivanov Dmitry
2011-11-19 19:36 ` Ivanov Dmitry
0 siblings, 1 reply; 2+ messages in thread
From: Ivanov Dmitry @ 2011-11-18 10:27 UTC (permalink / raw)
To: help-gnu-emacs
I have GNU Emacs 23.1.1 on Windows. I installed yasnippet lib and it works. But when I create custom snippets they are not loaded. For example in c-mode subdir I made a snippet
# -*- mode: snippet -*-
# name: switch
# key: switch
# --
switch (${1:x})
{
case $2:
$3
break;
}
When I open it and try to test it - it works. When I load it into the snippets table for c-mode it starts working in c-mode. But when I just open emacs and start c-mode it's not loaded.
So for some reson yasnippet doesn't load it from the dir.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-19 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18 10:27 yasnippets are not loaded Ivanov Dmitry
2011-11-19 19:36 ` Ivanov Dmitry
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.