aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Lindgren2014-02-04 12:37:08 -0500
committerStefan Monnier2014-02-04 12:37:08 -0500
commit08e41897364aecbfb4c275d3c3c0cd5acbd08cc9 (patch)
tree4af0ad8df37c2a863e2a76bfa057a5562336e18b
parent8101203ad76faba349a98c79f54a6c09659d8719 (diff)
downloademacs-08e41897364aecbfb4c275d3c3c0cd5acbd08cc9.tar.gz
emacs-08e41897364aecbfb4c275d3c3c0cd5acbd08cc9.zip
* lisp/emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
the names. Fixes: debbugs:16620
-rw-r--r--lisp/ChangeLog15
-rw-r--r--lisp/emacs-lisp/ert.el2
2 files changed, 10 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a97860c8aa6..a7109284991 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,9 +1,12 @@
12014-02-04 Anders Lindgren <andlind@gmail.com>
2
3 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4 the names (bug#16620).
5
12014-02-03 Martin Rudalics <rudalics@gmx.at> 62014-02-03 Martin Rudalics <rudalics@gmx.at>
2 7
3 * faces.el (window-divider): New default value. Rewrite 8 * faces.el (window-divider): New default value. Rewrite doc-string.
4 doc-string. 9 (window-divider-first-pixel, window-divider-last-pixel): New faces.
5 (window-divider-first-pixel, window-divider-last-pixel): New
6 faces.
7 10
82014-02-03 Dmitry Gutov <dgutov@yandex.ru> 112014-02-03 Dmitry Gutov <dgutov@yandex.ru>
9 12
@@ -34,8 +37,8 @@
34 37
352014-02-02 Daniel Colascione <dancol@dancol.org> 382014-02-02 Daniel Colascione <dancol@dancol.org>
36 39
37 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display): Also 40 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
38 try to display local help from just before point. 41 Also try to display local help from just before point.
39 42
402014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org> 432014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
41 44
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index 4b118609d1e..ee058a8f607 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -1469,7 +1469,7 @@ the tests)."
1469 "Activate font-lock keywords for some of ERT's symbols." 1469 "Activate font-lock keywords for some of ERT's symbols."
1470 (font-lock-add-keywords 1470 (font-lock-add-keywords
1471 nil 1471 nil
1472 '(("(\\(\\<ert-deftest\\)\\>\\s *\\(\\sw+\\)?" 1472 '(("(\\(\\<ert-deftest\\)\\>\\s *\\(\\(?:\\sw\\|\\s_\\)+\\)?"
1473 (1 font-lock-keyword-face nil t) 1473 (1 font-lock-keyword-face nil t)
1474 (2 font-lock-function-name-face nil t))))) 1474 (2 font-lock-function-name-face nil t)))))
1475 1475