diff options
| author | Kim F. Storm | 2006-07-12 13:20:32 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-07-12 13:20:32 +0000 |
| commit | 29100ceab859e7c13a6549cf0afe57355474b933 (patch) | |
| tree | 8252b425cde841965a4b79a621c986c1b2f1b1b6 /src | |
| parent | 0b4331b7bffe15e032481fdb905616a9615ecb6d (diff) | |
| download | emacs-29100ceab859e7c13a6549cf0afe57355474b933.tar.gz emacs-29100ceab859e7c13a6549cf0afe57355474b933.zip | |
(Fset_match_data): Use CHECK_LIST.
Diffstat (limited to 'src')
| -rw-r--r-- | src/search.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c index 99db7f184fc..fe124091009 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -2874,8 +2874,7 @@ If optional arg RESEAT is non-nil, make markers on LIST point nowhere. */) | |||
| 2874 | if (running_asynch_code) | 2874 | if (running_asynch_code) |
| 2875 | save_search_regs (); | 2875 | save_search_regs (); |
| 2876 | 2876 | ||
| 2877 | if (!CONSP (list) && !NILP (list)) | 2877 | CHECK_LIST (list); |
| 2878 | list = wrong_type_argument (Qconsp, list); | ||
| 2879 | 2878 | ||
| 2880 | /* Unless we find a marker with a buffer or an explicit buffer | 2879 | /* Unless we find a marker with a buffer or an explicit buffer |
| 2881 | in LIST, assume that this match data came from a string. */ | 2880 | in LIST, assume that this match data came from a string. */ |