# HG changeset patch # User Kenichi Handa # Date 1023840795 0 # Node ID 4570f1a4c391a947aa02abd250dde15a9bd6e83e # Parent 55e36a0cf0ee6ad2852b3c68e837cc34952a7984 (syms_of_character): Setup Vchar_width_table for eight-bit-control and raw-byte chars. diff -r 55e36a0cf0ee -r 4570f1a4c391 src/character.c --- a/src/character.c Wed Jun 12 00:12:53 2002 +0000 +++ b/src/character.c Wed Jun 12 00:13:15 2002 +0000 @@ -903,6 +903,9 @@ doc: /* A char-table for width (columns) of each character. */); Vchar_width_table = Fmake_char_table (Qnil, make_number (1)); + char_table_set_range (Vchar_width_table, 0x80, 0x9F, make_number (4)); + char_table_set_range (Vchar_width_table, MAX_5_BYTE_CHAR + 1, MAX_CHAR, + make_number (4)); DEFVAR_LISP ("char-direction-table", &Vchar_direction_table, doc: /* A char-table for direction of each character. */);