diff options
| author | Kim F. Storm | 2003-02-13 10:33:49 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-02-13 10:33:49 +0000 |
| commit | 140a6b7efd5210aa629adeb8708d57ae11e71375 (patch) | |
| tree | 1fced0cd81ff522a023eceba6b651c8bdc7a6e51 /src | |
| parent | 47774164e5714eb4fb3ad2b9b3bdf7bdc108ca0f (diff) | |
| download | emacs-140a6b7efd5210aa629adeb8708d57ae11e71375.tar.gz emacs-140a6b7efd5210aa629adeb8708d57ae11e71375.zip | |
(Fmatch_data): Doc fix. Explicitly state that
match-data is undefined if last search failed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/search.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f5933c00a8e..d849ecb49e3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2003-02-13 Kim F. Storm <storm@cua.dk> | 1 | 2003-02-13 Kim F. Storm <storm@cua.dk> |
| 2 | 2 | ||
| 3 | * search.c (Fmatch_data): Doc fix. Explicitly state that | ||
| 4 | match-data is undefined if last search failed. | ||
| 5 | |||
| 3 | * keymap.c (Fcommand_remapping): Renamed from Fremap_command. | 6 | * keymap.c (Fcommand_remapping): Renamed from Fremap_command. |
| 4 | All uses changed. | 7 | All uses changed. |
| 5 | 8 | ||
diff --git a/src/search.c b/src/search.c index a9544a2db39..0170838b599 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -2651,7 +2651,9 @@ Use `store-match-data' to reinstate the data in this list. | |||
| 2651 | If INTEGERS (the optional first argument) is non-nil, always use integers | 2651 | If INTEGERS (the optional first argument) is non-nil, always use integers |
| 2652 | \(rather than markers) to represent buffer positions. | 2652 | \(rather than markers) to represent buffer positions. |
| 2653 | If REUSE is a list, reuse it as part of the value. If REUSE is long enough | 2653 | If REUSE is a list, reuse it as part of the value. If REUSE is long enough |
| 2654 | to hold all the values, and if INTEGERS is non-nil, no consing is done. */) | 2654 | to hold all the values, and if INTEGERS is non-nil, no consing is done. |
| 2655 | |||
| 2656 | Return value is undefined if the last search failed. */) | ||
| 2655 | (integers, reuse) | 2657 | (integers, reuse) |
| 2656 | Lisp_Object integers, reuse; | 2658 | Lisp_Object integers, reuse; |
| 2657 | { | 2659 | { |