summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-10-19 01:52:59 +0000
committerRichard M. Stallman <rms@gnu.org>2005-10-19 01:52:59 +0000
commitf42d19a283c2888320519c78093de6a788374634 (patch)
tree346c5f045171a48d52c3353966eae7c658f1b4f6 /src/search.c
parent8b1b64617b37243f75c4052653761d2e2a3943f3 (diff)
downloademacs-f42d19a283c2888320519c78093de6a788374634.tar.gz
(Fstring_match): Doc fix.
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
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