]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fmac_get_preference): Use CHECK_LIST_END.
authorKim F. Storm <storm@cua.dk>
Wed, 12 Jul 2006 13:19:33 +0000 (13:19 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 12 Jul 2006 13:19:33 +0000 (13:19 +0000)
src/mac.c

index e25ed4353427d100d416304f150b1cc05728faae..4652757fab35912e4488cfaca3b5bbccf6309ca8 100644 (file)
--- a/src/mac.c
+++ b/src/mac.c
@@ -4625,8 +4625,7 @@ otherwise.  */)
       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);