diff options
| author | Lars Magne Ingebrigtsen | 2011-07-14 20:45:36 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-07-14 20:45:36 +0200 |
| commit | 49080b10623d000c69a700a26316eb951495f2d8 (patch) | |
| tree | 369a7f4f18757864a520d585de54d4bdfa219c5b /src | |
| parent | fb23ecc296a8146d4c00066049edc0c2e680c101 (diff) | |
| download | emacs-49080b10623d000c69a700a26316eb951495f2d8.tar.gz emacs-49080b10623d000c69a700a26316eb951495f2d8.zip | |
Mention `case-fold-search' in all the re_search_* functions
Fixes: debbugs:8138
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/search.c | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 06280ccad88..3ea1320950d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * search.c (Fre_search_backward): Mention `case-fold-search' in | ||
| 4 | all the re_search_* functions (bug#8138). | ||
| 5 | |||
| 3 | * keyboard.c (Fopen_dribble_file): Document when the file is | 6 | * keyboard.c (Fopen_dribble_file): Document when the file is |
| 4 | closed (bug#8056). | 7 | closed (bug#8056). |
| 5 | 8 | ||
diff --git a/src/search.c b/src/search.c index d29a51c695b..a56df784cd2 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -2284,6 +2284,10 @@ The match found must start at or after that position. | |||
| 2284 | Optional third argument, if t, means if fail just return nil (no error). | 2284 | Optional third argument, if t, means if fail just return nil (no error). |
| 2285 | If not nil and not t, move to limit of search and return nil. | 2285 | If not nil and not t, move to limit of search and return nil. |
| 2286 | Optional fourth argument is repeat count--search for successive occurrences. | 2286 | Optional fourth argument is repeat count--search for successive occurrences. |
| 2287 | |||
| 2288 | Search case-sensitivity is determined by the value of the variable | ||
| 2289 | `case-fold-search', which see. | ||
| 2290 | |||
| 2287 | See also the functions `match-beginning', `match-end', `match-string', | 2291 | See also the functions `match-beginning', `match-end', `match-string', |
| 2288 | and `replace-match'. */) | 2292 | and `replace-match'. */) |
| 2289 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) | 2293 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) |
| @@ -2300,6 +2304,10 @@ The match found must not extend after that position. | |||
| 2300 | Optional third argument, if t, means if fail just return nil (no error). | 2304 | Optional third argument, if t, means if fail just return nil (no error). |
| 2301 | If not nil and not t, move to limit of search and return nil. | 2305 | If not nil and not t, move to limit of search and return nil. |
| 2302 | Optional fourth argument is repeat count--search for successive occurrences. | 2306 | Optional fourth argument is repeat count--search for successive occurrences. |
| 2307 | |||
| 2308 | Search case-sensitivity is determined by the value of the variable | ||
| 2309 | `case-fold-search', which see. | ||
| 2310 | |||
| 2303 | See also the functions `match-beginning', `match-end', `match-string', | 2311 | See also the functions `match-beginning', `match-end', `match-string', |
| 2304 | and `replace-match'. */) | 2312 | and `replace-match'. */) |
| 2305 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) | 2313 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) |
| @@ -2319,6 +2327,10 @@ The match found must start at or after that position. | |||
| 2319 | Optional third argument, if t, means if fail just return nil (no error). | 2327 | Optional third argument, if t, means if fail just return nil (no error). |
| 2320 | If not nil and not t, move to limit of search and return nil. | 2328 | If not nil and not t, move to limit of search and return nil. |
| 2321 | Optional fourth argument is repeat count--search for successive occurrences. | 2329 | Optional fourth argument is repeat count--search for successive occurrences. |
| 2330 | |||
| 2331 | Search case-sensitivity is determined by the value of the variable | ||
| 2332 | `case-fold-search', which see. | ||
| 2333 | |||
| 2322 | See also the functions `match-beginning', `match-end', `match-string', | 2334 | See also the functions `match-beginning', `match-end', `match-string', |
| 2323 | and `replace-match'. */) | 2335 | and `replace-match'. */) |
| 2324 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) | 2336 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) |
| @@ -2336,6 +2348,10 @@ The match found must not extend after that position. | |||
| 2336 | Optional third argument, if t, means if fail just return nil (no error). | 2348 | Optional third argument, if t, means if fail just return nil (no error). |
| 2337 | If not nil and not t, move to limit of search and return nil. | 2349 | If not nil and not t, move to limit of search and return nil. |
| 2338 | Optional fourth argument is repeat count--search for successive occurrences. | 2350 | Optional fourth argument is repeat count--search for successive occurrences. |
| 2351 | |||
| 2352 | Search case-sensitivity is determined by the value of the variable | ||
| 2353 | `case-fold-search', which see. | ||
| 2354 | |||
| 2339 | See also the functions `match-beginning', `match-end', `match-string', | 2355 | See also the functions `match-beginning', `match-end', `match-string', |
| 2340 | and `replace-match'. */) | 2356 | and `replace-match'. */) |
| 2341 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) | 2357 | (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) |