1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-28 02:40:46 -08:00

* lisp/emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in

the names.

Fixes: debbugs:16620
This commit is contained in:
Anders Lindgren 2014-02-04 12:37:08 -05:00 committed by Stefan Monnier
parent 8101203ad7
commit 08e4189736
2 changed files with 10 additions and 7 deletions

View file

@ -1,9 +1,12 @@
2014-02-04 Anders Lindgren <andlind@gmail.com>
* emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
the names (bug#16620).
2014-02-03 Martin Rudalics <rudalics@gmx.at>
* faces.el (window-divider): New default value. Rewrite
doc-string.
(window-divider-first-pixel, window-divider-last-pixel): New
faces.
* faces.el (window-divider): New default value. Rewrite doc-string.
(window-divider-first-pixel, window-divider-last-pixel): New faces.
2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
@ -34,8 +37,8 @@
2014-02-02 Daniel Colascione <dancol@dancol.org>
* help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display): Also
try to display local help from just before point.
* help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
Also try to display local help from just before point.
2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>

View file

@ -1469,7 +1469,7 @@ the tests)."
"Activate font-lock keywords for some of ERT's symbols."
(font-lock-add-keywords
nil
'(("(\\(\\<ert-deftest\\)\\>\\s *\\(\\sw+\\)?"
'(("(\\(\\<ert-deftest\\)\\>\\s *\\(\\(?:\\sw\\|\\s_\\)+\\)?"
(1 font-lock-keyword-face nil t)
(2 font-lock-function-name-face nil t)))))