From f42d19a283c2888320519c78093de6a788374634 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 19 Oct 2005 01:52:59 +0000 Subject: [PATCH] (Fstring_match): Doc fix. --- src/ChangeLog | 4 ++++ src/search.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 61b658b6b88..40d2ed10308 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-10-18 Richard M. Stallman + + * search.c (Fstring_match): Doc fix. + 2005-10-18 YAMAMOTO Mitsuharu * macterm.c (note_mouse_movement): Use PtInRect. diff --git a/src/search.c b/src/search.c index f60e6d0cfe2..c9ed8e50076 100644 --- a/src/search.c +++ b/src/search.c @@ -429,7 +429,7 @@ string_match_1 (regexp, string, start, posix) DEFUN ("string-match", Fstring_match, Sstring_match, 2, 3, 0, doc: /* Return index of start of first match for REGEXP in STRING, or nil. -Case is ignored if `case-fold-search' is non-nil in the current buffer. +Matching ignores case `case-fold-search' is non-nil. If third arg START is non-nil, start search at that index in STRING. For index of first char beyond the match, do (match-end 0). `match-end' and `match-beginning' also give indices of substrings -- 2.39.5