summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-07-12 13:20:32 +0000
committerKim F. Storm <storm@cua.dk>2006-07-12 13:20:32 +0000
commit29100ceab859e7c13a6549cf0afe57355474b933 (patch)
tree8252b425cde841965a4b79a621c986c1b2f1b1b6
parent0b4331b7bffe15e032481fdb905616a9615ecb6d (diff)
downloademacs-29100ceab859e7c13a6549cf0afe57355474b933.tar.gz
(Fset_match_data): Use CHECK_LIST.
-rw-r--r--src/search.c3
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. */)
if (running_asynch_code)
save_search_regs ();
- if (!CONSP (list) && !NILP (list))
- list = wrong_type_argument (Qconsp, list);
+ CHECK_LIST (list);
/* Unless we find a marker with a buffer or an explicit buffer
in LIST, assume that this match data came from a string. */