From b068fcd4a31711e0abfb75083096b4078ac21145 Mon Sep 17 00:00:00 2001 From: Sebastian Miele Date: Thu, 7 Sep 2023 13:51:12 +0200 Subject: [PATCH] * doc/lispref/strings.texi (Text Comparison): Fix typo (bug#65799). --- doc/lispref/strings.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2