summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/ruby-mode-tests.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2020-10-06 23:14:26 +0300
committerJuri Linkov <juri@linkov.net>2020-10-06 23:14:26 +0300
commit46aa145d3906d21b4eb0e088c6325967c1579f3d (patch)
tree6a644fdff245b2991ec54191b4d52716f51a8f0a /test/lisp/progmodes/ruby-mode-tests.el
parentec705a6c3485b508b64981bd5a7fd3a60611357d (diff)
downloademacs-46aa145d3906d21b4eb0e088c6325967c1579f3d.tar.gz
emacs-46aa145d3906d21b4eb0e088c6325967c1579f3d.tar.bz2
emacs-46aa145d3906d21b4eb0e088c6325967c1579f3d.zip
Add match-data to isearch state and repeat faces to highlight group matches
* lisp/isearch.el (isearch-match-data): New variable. (isearch-mode): Set isearch-match-data to nil. (isearch-update): Call isearch-highlight with isearch-match-data. (isearch--state): Add isearch-match-data. (isearch--set-state): Restore isearch-match-data. (with-isearch-suspended): Preserve isearch-match-data. (isearch-search): Set isearch-match-data to integers. (isearch-group-1): Rename from isearch-group-odd and adjust colors. (isearch-group-2): Rename from isearch-group-even and adjust colors. (isearch-highlight): Add optional arg 'match-data'. Rewrite search-highlight-submatches part to recycle faces. * doc/emacs/search.texi (Search Customizations): Amend the documentation for isearch-group faces. (bug#6227, bug#43702)
Diffstat (limited to 'test/lisp/progmodes/ruby-mode-tests.el')
0 files changed, 0 insertions, 0 deletions