# HG changeset patch # User Kim F. Storm # Date 1152710432 0 # Node ID 0b34cf45daa893dc6f5e8cb5eca06ce5bc7eba75 # Parent 96e9b3cb9809900ca8f3d17a1e13e8060a4def06 (Fset_match_data): Use CHECK_LIST. diff -r 96e9b3cb9809 -r 0b34cf45daa8 src/search.c --- a/src/search.c Wed Jul 12 13:19:54 2006 +0000 +++ b/src/search.c Wed Jul 12 13:20:32 2006 +0000 @@ -2874,8 +2874,7 @@ 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. */