]> git.eshelyaron.com Git - emacs.git/commit
Highlight regexp sub-expressions
authorJuri Linkov <juri@jurta.org>
Sun, 20 Sep 2020 13:46:19 +0000 (15:46 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 20 Sep 2020 13:46:19 +0000 (15:46 +0200)
commit09e109851b94d826424a073b56700a46bdbf4b5f
tree5b07566c7525834e94e8b5c79f12a52ec110e7c6
parentf8d8d28bc67cc69efd9a5d9d9bf3aba43219e0e3
Highlight regexp sub-expressions

* doc/emacs/search.texi (Search Customizations): Document it.

* lisp/isearch.el (search-highlight-submatches): New variable.
(isearch-group-1, isearch-group-2, isearch-group-3)
(isearch-group-4, isearch-group-5): New faces.
(isearch-highlight): Use them.
(isearch-dehighlight): Ditto (bug#6227).
doc/emacs/search.texi
etc/NEWS
lisp/isearch.el