aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2005-10-19 01:52:59 +0000
committerRichard M. Stallman2005-10-19 01:52:59 +0000
commitf42d19a283c2888320519c78093de6a788374634 (patch)
tree346c5f045171a48d52c3353966eae7c658f1b4f6 /src
parent8b1b64617b37243f75c4052653761d2e2a3943f3 (diff)
downloademacs-f42d19a283c2888320519c78093de6a788374634.tar.gz
emacs-f42d19a283c2888320519c78093de6a788374634.zip
(Fstring_match): Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/search.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 61b658b6b88..40d2ed10308 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12005-10-18 Richard M. Stallman <rms@gnu.org>
2
3 * search.c (Fstring_match): Doc fix.
4
12005-10-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 52005-10-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 6
3 * macterm.c (note_mouse_movement): Use PtInRect. 7 * 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)
429 429
430DEFUN ("string-match", Fstring_match, Sstring_match, 2, 3, 0, 430DEFUN ("string-match", Fstring_match, Sstring_match, 2, 3, 0,
431 doc: /* Return index of start of first match for REGEXP in STRING, or nil. 431 doc: /* Return index of start of first match for REGEXP in STRING, or nil.
432Case is ignored if `case-fold-search' is non-nil in the current buffer. 432Matching ignores case `case-fold-search' is non-nil.
433If third arg START is non-nil, start search at that index in STRING. 433If third arg START is non-nil, start search at that index in STRING.
434For index of first char beyond the match, do (match-end 0). 434For index of first char beyond the match, do (match-end 0).
435`match-end' and `match-beginning' also give indices of substrings 435`match-end' and `match-beginning' also give indices of substrings