From: Sebastian Miele Date: Thu, 7 Sep 2023 11:51:12 +0000 (+0200) Subject: * doc/lispref/strings.texi (Text Comparison): Fix typo (bug#65799). X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~15^2~367 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b068fcd4a31711e0abfb75083096b4078ac21145;p=emacs.git * doc/lispref/strings.texi (Text Comparison): Fix typo (bug#65799). --- diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 3d86a87516b..7d11db49def 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi @@ -754,7 +754,7 @@ ignores case differences. @defun string-search needle haystack &optional start-pos Return the position of the first instance of @var{needle} in @var{haystack}, both of which are strings. If @var{start-pos} is -non-@code{nil}, start searching from that position in @var{needle}. +non-@code{nil}, start searching from that position in @var{haystack}. Return @code{nil} if no match was found. This function only considers the characters in the strings when doing the comparison; text properties are ignored. Matching is always