2000-04-08 Ken Raeburn <raeburn@gnu.org>
+ * charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
+ charset id (int) argument, not a charset (Lisp_Object).
+
* coding.h (code_convert_string): Declare.
* coding.c (code_convert_string_norecord): Pass an int, not a lisp
object, as the fourth argument to code_convert_string.
if (c1 == 0
? c2 != 0
: (c2 == 0
- ? !CHAR_COMPONENTS_VALID_P (charset, c1, 0x20)
- : !CHAR_COMPONENTS_VALID_P (charset, c1, c2)))
+ ? !CHAR_COMPONENTS_VALID_P (charset_id, c1, 0x20)
+ : !CHAR_COMPONENTS_VALID_P (charset_id, c1, c2)))
error ("Invalid code points for charset ID %d: %d %d", charset_id, c1, c2);
return make_number (MAKE_CHAR (charset_id, c1, c2));