From: Eli Zaretskii Date: Sun, 28 Nov 1999 10:20:12 +0000 (+0000) Subject: (Fmake_char_internal): Print the charset ID when X-Git-Tag: emacs-pretest-21.0.90~5947 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=613a83462a606105d96e614951a87807f33585f0;p=emacs.git (Fmake_char_internal): Print the charset ID when signalling an error. --- diff --git a/src/ChangeLog b/src/ChangeLog index 6c1fe1bcdbb..8c5e9686e92 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 1999-11-28 Eli Zaretskii + * charset.c (Fmake_char_internal): Print the charset ID when + signalling an error. + * emacs.c (synchronize_locale): Avoid compiler warnings about pointer type mismatch. diff --git a/src/charset.c b/src/charset.c index c4915b713cd..ef426943861 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1080,7 +1080,7 @@ DEFUN ("make-char-internal", Fmake_char_internal, Smake_char_internal, 1, 3, 0, } 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 @@ -1088,7 +1088,7 @@ DEFUN ("make-char-internal", Fmake_char_internal, Smake_char_internal, 1, 3, 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)); }