aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2006-07-12 13:15:03 +0000
committerKim F. Storm2006-07-12 13:15:03 +0000
commita5f07f6d92ca594888d553f7384ff408d1a093b7 (patch)
treed71379ca7165131465fa9810f6925c8654b2ea10 /src
parent4e374bf2f8bb2c42165137ba9f3b50a87ebdcf2f (diff)
downloademacs-a5f07f6d92ca594888d553f7384ff408d1a093b7.tar.gz
emacs-a5f07f6d92ca594888d553f7384ff408d1a093b7.zip
* casetab.c (check_case_table): Use CHECK_TYPE.
Diffstat (limited to 'src')
-rw-r--r--src/casetab.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/casetab.c b/src/casetab.c
index 5c7530eb480..5483f5663fa 100644
--- a/src/casetab.c
+++ b/src/casetab.c
@@ -1,5 +1,5 @@
1/* GNU Emacs routines to deal with case tables. 1/* GNU Emacs routines to deal with case tables.
2 Copyright (C) 1993, 1994, 2002, 2003, 2004, 2 Copyright (C) 1993, 1994, 2002, 2003, 2004,
3 2005, 2006 Free Software Foundation, Inc. 3 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -67,10 +67,7 @@ static Lisp_Object
67check_case_table (obj) 67check_case_table (obj)
68 Lisp_Object obj; 68 Lisp_Object obj;
69{ 69{
70 register Lisp_Object tem; 70 CHECK_TYPE (!NILP (Fcase_table_p (obj)), Qcase_table_p, obj);
71
72 while (tem = Fcase_table_p (obj), NILP (tem))
73 obj = wrong_type_argument (Qcase_table_p, obj);
74 return (obj); 71 return (obj);
75} 72}
76 73