# HG changeset patch # User Kim F. Storm # Date 1152710118 0 # Node ID 8adcaaf366b4174ebf398289c7f06f15ab8dfe96 # Parent 10b94d33e0d8e0de2067322184f81aba70cdc9a8 (check_category_table): Use CHECK_TYPE. diff -r 10b94d33e0d8 -r 8adcaaf366b4 src/category.c --- a/src/category.c Wed Jul 12 13:15:03 2006 +0000 +++ b/src/category.c Wed Jul 12 13:15:18 2006 +0000 @@ -164,11 +164,9 @@ 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; }