From: Eli Zaretskii Date: Sat, 13 Jul 2024 10:22:01 +0000 (+0300) Subject: ; * src/search.c (Fre_search_forward): Clarify doc string (bug#71879). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a6d4a52af2bca698d1f43da0258ce6cc8ae23294;p=emacs.git ; * src/search.c (Fre_search_forward): Clarify doc string (bug#71879). (cherry picked from commit bc154cba13024d2c159f6cadd324a8ef3f6dddcc) --- diff --git a/src/search.c b/src/search.c index dd813eda913..2ff8b0599c4 100644 --- a/src/search.c +++ b/src/search.c @@ -2279,7 +2279,7 @@ The optional second argument BOUND is a buffer position that bounds value of nil means search to the end of the accessible portion of the buffer. The optional third argument NOERROR indicates how errors are handled - when the search fails. If it is nil or omitted, emit an error; if + when the search fails: if it is nil or omitted, emit an error; if it is t, simply return nil and do nothing; if it is neither nil nor t, move to the limit of search and return nil. The optional fourth argument COUNT is a number that indicates the