Commit 24346b4e authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

More details and index entries for isearch-lazy-highlight.

parent 37d8a691
...@@ -183,6 +183,7 @@ anticipate where the cursor will end up each time you press @kbd{C-s} or ...@@ -183,6 +183,7 @@ anticipate where the cursor will end up each time you press @kbd{C-s} or
matches happens in a deferred fashion so as not to rob Isearch of its matches happens in a deferred fashion so as not to rob Isearch of its
usual snappy response. usual snappy response.
@vindex isearch-lazy-highlight-cleanup @vindex isearch-lazy-highlight-cleanup
@findex isearch-lazy-highlight-cleanup
By default the highlighting of matches is cleared when you end the By default the highlighting of matches is cleared when you end the
search. Customize the variable @code{isearch-lazy-highlight-cleanup} to search. Customize the variable @code{isearch-lazy-highlight-cleanup} to
avoid cleaning up automatically. The command @kbd{M-x avoid cleaning up automatically. The command @kbd{M-x
...@@ -191,6 +192,14 @@ isearch-lazy-highlight-cleanup} can be used to clean up manually. ...@@ -191,6 +192,14 @@ isearch-lazy-highlight-cleanup} can be used to clean up manually.
Customize the variable @code{isearch-lazy-highlight} to turn off this Customize the variable @code{isearch-lazy-highlight} to turn off this
feature. feature.
@vindex isearch-lazy-highlight-face
@cindex faces for highlighting search matches
You can control how does the highlighting of matches look like by
customizing the faces @code{isearch} (highlights the current match) and
@code{isearch-lazy-highlight-face} (highlights the other matches). The
former defaults to the @code{region} face, the latter to the
@code{secodnary-selection} face.
@vindex isearch-mode-map @vindex isearch-mode-map
To customize the special characters that incremental search understands, To customize the special characters that incremental search understands,
alter their bindings in the keymap @code{isearch-mode-map}. For a list alter their bindings in the keymap @code{isearch-mode-map}. For a list
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment