Mercurial > emacs
diff src/category.c @ 71829:8adcaaf366b4
(check_category_table): Use CHECK_TYPE.
| author | Kim F. Storm <storm@cua.dk> |
|---|---|
| date | Wed, 12 Jul 2006 13:15:18 +0000 |
| parents | 3bd95f4f2941 |
| children | e74524ea3f55 8a8e69664178 |
line wrap: on
line diff
--- 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; }
