aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2006-07-12 13:15:18 +0000
committerKim F. Storm2006-07-12 13:15:18 +0000
commit886742699bbd96ed2b93e764aec84f2dcb0f441b (patch)
treebaa07fa21ff3448b9511f3f53eb33cb559435028 /src
parenta5f07f6d92ca594888d553f7384ff408d1a093b7 (diff)
downloademacs-886742699bbd96ed2b93e764aec84f2dcb0f441b.tar.gz
emacs-886742699bbd96ed2b93e764aec84f2dcb0f441b.zip
(check_category_table): Use CHECK_TYPE.
Diffstat (limited to 'src')
-rw-r--r--src/category.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/category.c b/src/category.c
index 929cd7ea1c0..6835d00d824 100644
--- a/src/category.c
+++ b/src/category.c
@@ -164,11 +164,9 @@ Lisp_Object
164check_category_table (table) 164check_category_table (table)
165 Lisp_Object table; 165 Lisp_Object table;
166{ 166{
167 register Lisp_Object tem;
168 if (NILP (table)) 167 if (NILP (table))
169 return current_buffer->category_table; 168 return current_buffer->category_table;
170 while (tem = Fcategory_table_p (table), NILP (tem)) 169 CHECK_TYPE (!NILP (Fcategory_table_p (table)), Qcategory_table_p, table);
171 table = wrong_type_argument (Qcategory_table_p, table);
172 return table; 170 return table;
173} 171}
174 172