]> code.delx.au - gnu-emacs-elpa/commit
Closes #470, handle non-whitespace newlines
authorNoam Postavsky <npostavs@users.sourceforge.net>
Sun, 10 Aug 2014 16:21:47 +0000 (12:21 -0400)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Sun, 10 Aug 2014 18:05:01 +0000 (14:05 -0400)
commitde34d91a3c149993526370f98cf36eb6da565976
tree23dd795a2c9df6c7c7945535d3846c4ac59483a1
parentfaed1062a27fd2bfd130db7c730971bcd5636c4f
Closes #470, handle non-whitespace newlines

Many modes put newlines in comment ender class because they have line
comments.

* yasnippet.el (yas-try-key-from-whitespace): new function.
(yas-key-syntaxes): use it in place of "^ ".
* yasnippet-tests.el (complicated-yas-key-syntaxes): test it.
yasnippet-tests.el
yasnippet.el