changeset 88904:da66b8fcc88c

(CHAR_TABLE_REF): Remove unnecessary check (IDX >= 0). (Fset_fotset_font): Fix arguments to 5.
author Kenichi Handa <handa@m17n.org>
date Fri, 26 Jul 2002 04:06:43 +0000
parents d32a3736c4fe
children 4a78174da392
files src/lisp.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Fri Jul 26 04:06:25 2002 +0000
+++ b/src/lisp.h	Fri Jul 26 04:06:43 2002 +0000
@@ -727,7 +727,7 @@
 /* Almost equivalent to Faref (CT, IDX) with optimization for ASCII
    characters.  Do not check validity of CT.  */
 #define CHAR_TABLE_REF(CT, IDX)						 \
-  (((IDX) >= 0 && ASCII_CHAR_P (IDX)					 \
+  ((ASCII_CHAR_P (IDX)							 \
     && SUB_CHAR_TABLE_P (XCHAR_TABLE (CT)->ascii)			 \
     && !NILP (XSUB_CHAR_TABLE (XCHAR_TABLE (CT)->ascii)->contents[IDX])) \
    ? XSUB_CHAR_TABLE (XCHAR_TABLE (CT)->ascii)->contents[IDX]		 \
@@ -3061,7 +3061,7 @@
 #ifdef HAVE_X_WINDOWS
 /* Defined in fontset.c */
 extern void syms_of_fontset P_ ((void));
-EXFUN (Fset_fontset_font, 4);
+EXFUN (Fset_fontset_font, 5);
 #endif
 
 /* Defined in xfaces.c */