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: emacs-29.1.90~124 X-Git-Url: http://git.eshelyaron.com/gitweb/?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