]> code.delx.au - gnu-emacs-elpa/commit
Prevent disabling errors from recent `yas-current-syntaxes` logic
authorJoão Távora <joaotavora@gmail.com>
Wed, 20 Aug 2014 19:23:00 +0000 (20:23 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 20 Aug 2014 19:23:00 +0000 (20:23 +0100)
commitf7ef023ebb746ee1597b20d6770fffd106c802f4
tree7e7df1380de0063ade2604dc392185c46e0ecfe5
parente60e8b55518ede19b995c5b49ba69873ee4dc1d3
Prevent disabling errors from recent `yas-current-syntaxes` logic

* yasnippet.el (yas--templates-for-key-at-point): Don't error
since this function is called very frequently on TAB. Use new
`yas--warning'.
(yas--warning): New function.
yasnippet.el