summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2022-08-01 22:19:01 +0300
committerJuri Linkov <juri@linkov.net>2022-08-01 22:19:01 +0300
commit7320a812e9e0624480406309a3cad18db38ff87a (patch)
tree4a78b6d9b6b845b92052d02d08042acf8e4b203b /doc
parent9d8a6c82838f2f24e76a67379b02956aa668d7cf (diff)
downloademacs-7320a812e9e0624480406309a3cad18db38ff87a.tar.gz
Wrap around the search on typing a letter (bug#56535)
* doc/emacs/search.texi (Repeat Isearch): Improve values no/no-ding. * lisp/isearch.el (isearch-search-and-update): Try to repeat the search on an error when isearch-wrap-pause is no/no-ding.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/search.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 27d4db85412..582e764c55f 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -228,8 +228,9 @@ 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.
+but don't @code{ding}. With the values @code{no} and @code{no-ding}
+the search will try to wrap around also on typing a character.
+Finally, if @code{nil}, never wrap, but just stop at the last match.
@cindex search ring
@findex isearch-ring-advance