I installed Emacs 25.1.2 on Windows 10 machine, then installed yasnippet library from Elpa. Copied all my snippets from Linux machine. But for some reason none of them work. When I open a file I get this error:
File mode specification error: (wrong-type-argument integerp nil)
[yas] Loading for `cperl-mode', just-in-time:
(lambda nil (yas--load-directory-1
(quote D:/me/.emacs.d/yasnippets/cperl-mode) (quote cperl-mode)))!
[yas] Loading compiled snippets from D:/me/.emacs.d/yasnippets/cperl-mode
while: Wrong type argument: integerp, nil
Maybe, something is wrong with installed library?
debug-on-error
and post the backtrace?emacs -Q
, so this is likely some kind of interaction with another package.