changeset 71841:0b34cf45daa8

(Fset_match_data): Use CHECK_LIST.
author Kim F. Storm <storm@cua.dk>
date Wed, 12 Jul 2006 13:20:32 +0000
parents 96e9b3cb9809
children 9214bbc95872
files src/search.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.  */