help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

yasnippets are not loaded


From: Ivanov Dmitry
Subject: yasnippets are not loaded
Date: Fri, 18 Nov 2011 13:27:12 +0300

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]