mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-23 22:20:24 -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:
parent
8101203ad7
commit
08e4189736
2 changed files with 10 additions and 7 deletions
|
|
@ -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)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue