]> code.delx.au - gnu-emacs-elpa/commit
New test for cc-mode's fontification functions
authorNoam Postavsky <npostavs@users.sourceforge.net>
Sat, 26 Apr 2014 23:09:57 +0000 (19:09 -0400)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Sun, 27 Apr 2014 18:49:02 +0000 (14:49 -0400)
commit4473b4ede5b9fb4736ef78482511349d2fe171eb
tree8c00d36ac19d8455f63e459f47ba32dc3f2814ae
parent4d9eee93ba855d1ae5700620a93ea8a1998f0bf1
New test for cc-mode's fontification functions

This issue requires font locking to trigger. This can be be done by
let-binding noninteractive to nil and using a buffer name that doesn't
start with a space, instead of the external emacs hack which is now
redundant.

* yasnippet-tests.el (yas--with-font-locked-temp-buffer): new macro
similar to with-temp-buffer but enables font-lock-mode even in -batch
mode.
(example-for-issue-474): new test
(example-for-issue-404, example-for-issue-404-c-mode): use new macro
(example-for-issue-404-external-emacs): removed
yasnippet-tests.el