changeset 71838:a322faa9b90c

(Fmac_get_preference): Use CHECK_LIST_END.
author Kim F. Storm <storm@cua.dk>
date Wed, 12 Jul 2006 13:19:33 +0000
parents b4bcd3aefbe8
children c31d8ae32af3
files src/mac.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/mac.c	Wed Jul 12 13:19:27 2006 +0000
+++ b/src/mac.c	Wed Jul 12 13:19:33 2006 +0000
@@ -4625,8 +4625,7 @@
       CHECK_CONS (key);
       for (tmp = key; CONSP (tmp); tmp = XCDR (tmp))
 	CHECK_STRING_CAR (tmp);
-      if (!NILP (tmp))
-	wrong_type_argument (Qlistp, key);
+      CHECK_LIST_END (tmp, key);
     }
   if (!NILP (application))
     CHECK_STRING (application);