From: Richard M. Stallman Date: Wed, 19 Oct 2005 01:52:59 +0000 (+0000) Subject: (Fstring_match): Doc fix. X-Git-Tag: emacs-pretest-22.0.90~6511 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f42d19a283c2888320519c78093de6a788374634;p=emacs.git (Fstring_match): Doc fix. --- 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