Document isearch-wrap-pause

* doc/emacs/search.texi (Repeat Isearch): Document
`isearch-wrap-pause'.
This commit is contained in:
Lars Ingebrigtsen 2021-09-21 22:01:28 +02:00
parent 7b62ea95c9
commit 636e082e45
2 changed files with 12 additions and 0 deletions

View file

@ -222,6 +222,15 @@ going past the original starting point of the search, it changes to
@samp{Overwrapped}, which means that you are revisiting matches that
you have already seen.
@vindex isearch-wrap-pause
You can control what happens when there are no more matches by
customizing the @code{isearch-wrap-pause} user option. If it is
@code{t} (the default), signal an error. (Repeating the search will
wrap around.) If @code{no}, issue a @code{ding} and wrap immediately
after reaching the last match. If @code{no-ding}, wrap immediately,
but don't @code{ding}. Finally, if @code{nil}, never wrap, but just
stop at the last match.
@cindex search ring
@findex isearch-ring-advance
@findex isearch-ring-retreat

View file

@ -1044,10 +1044,12 @@ achieve that.
+++
** New command 'C-x C-k Q' to force redisplay in keyboard macros.
---
** 'blink-cursor-mode' is now enabled by default regardless of the UI.
It used to be enabled when Emacs is started in GUI mode but not when started
in text mode. The cursor still only actually blinks in GUI frames.
+++
** New minor mode 'show-paren-local-mode'.
It serves as a local counterpart for 'show-paren-mode', allowing you
to toggle it separately in different buffers.
@ -1074,6 +1076,7 @@ distinguish between sub-expression highlighting.
Like 'search-highlight-submatches', this is controlled by the new user option
'query-replace-highlight-submatches'.
+++
*** New user option 'isearch-wrap-pause' defines how to wrap the search.
There are choices to disable wrapping completely and to wrap immediately.
When wrapping immediately, it consistently handles the numeric arguments