From: Kenichi Handa Date: Thu, 15 Aug 2002 02:30:08 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~445 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ed09a18b8446614c8bc5c9918f208c9551a9fe96;p=emacs.git *** empty log message *** --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 72541d26cbf..f02b753dbdb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2002-08-15 Kenichi Handa + + * international/mule-cmds.el (reset-language-environment): Don't + set nonascii-translation-table and nonascii-insert-offset. Call + set-unibyte-charset, not set-primary-charset. + (nonascii-translation-table, nonascii-insert-offset): Declare + these variable as obsolete ones. + (set-language-environment): Call set-unibyte-charset, not + set-primary-charset. Call set-charset-priority with `charset' + info of the language environment. + 2002-08-08 Kenichi Handa * tar-mode.el (tar-extract): Fix previous change. diff --git a/src/ChangeLog b/src/ChangeLog index 3cade674624..8e97ee3bd31 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,28 @@ +2002-08-15 Kenichi Handa + + * fontset.c (fontset_add): Make the type `int'. + (fontset_id_valid_p): Define it if FONTSET_DEBUG is defined. + + * character.c (unibyte_char_to_multibyte): Refer to + charset_unibyte, not charset_primary. + (multibyte_char_to_unibyte): Likewise. + (Funibyte_char_to_multibyte): Likewise. + + * charset.h: (charset_unibyte): Extern it instead of + charset_primary. + + * charset.c (charset_unibyte): Renamed from charset_primary. + (Funibyte_charset): Renamed from Fprimary_charset. + (Fset_unibyte_charset): Renamed from Fset_primary_charset. + (syms_of_charset): Adjusted for the above changes. + + * w32term.c (x_produce_glyphs): Use ASCII_CHAR_P, not + SINGLE_BYTE_CHAR_P. Fix the logic of handling non-ASCII char when + it->multibyte_p is zero. + + * lisp.h (nonascii_insert_offset, Vnonascii_translation_table): + Extern deleted. + 2002-08-08 Kenichi Handa * coding.c (Fdefine_coding_system_internal): Fix category setting diff --git a/src/chartab.c b/src/chartab.c index 3f9a9b8e00c..919331f7878 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -430,7 +430,7 @@ sub_char_table_set_range (table, depth, min_char, from, to, val) { int max_char = min_char + chartab_chars[depth] - 1; - if (depth == 3 || from <= min_char && to >= max_char) + if (depth == 3 || (from <= min_char && to >= max_char)) *table = val; else {