]> git.eshelyaron.com Git - emacs.git/commitdiff
(check_category_table): Use CHECK_TYPE.
authorKim F. Storm <storm@cua.dk>
Wed, 12 Jul 2006 13:15:18 +0000 (13:15 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 12 Jul 2006 13:15:18 +0000 (13:15 +0000)
src/category.c

index 929cd7ea1c0316791b21f7e401124bed9b93a04e..6835d00d824a8b4688068c12a574a05029e37d12 100644 (file)
@@ -164,11 +164,9 @@ Lisp_Object
 check_category_table (table)
      Lisp_Object table;
 {
-  register Lisp_Object tem;
   if (NILP (table))
     return current_buffer->category_table;
-  while (tem = Fcategory_table_p (table), NILP (tem))
-    table = wrong_type_argument (Qcategory_table_p, table);
+  CHECK_TYPE (!NILP (Fcategory_table_p (table)), Qcategory_table_p, table);
   return table;
 }