summaryrefslogtreecommitdiff
path: root/src/category.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/category.c')
-rw-r--r--src/category.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/category.c b/src/category.c
index 9b47e6c00e9..b9f80982ee7 100644
--- a/src/category.c
+++ b/src/category.c
@@ -168,11 +168,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;
}