1999-11-28 Eli Zaretskii <eliz@is.elta.co.il>
+ * charset.c (Fmake_char_internal): Print the charset ID when
+ signalling an error.
+
* emacs.c (synchronize_locale): Avoid compiler warnings about
pointer type mismatch.
}
if (c1 < 0 || c1 > 0xFF || c2 < 0 || c2 > 0xFF)
- error ("Invalid code points: %d %d", c1, c2);
+ error ("Invalid code points for charset ID %d: %d %d", charset_id, c1, c2);
c1 &= 0x7F;
c2 &= 0x7F;
if (c1 == 0
: (c2 == 0
? !CHAR_COMPONENTS_VALID_P (charset, c1, 0x20)
: !CHAR_COMPONENTS_VALID_P (charset, c1, c2)))
- error ("Invalid code points: %d %d", 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));
}