From be8b50bc30e6f0b8d77838fa28389b2a7b3d3185 Mon Sep 17 00:00:00 2001 From: Kenichi Handa <handa@m17n.org> Date: Wed, 12 Jun 2002 00:13:15 +0000 Subject: [PATCH] (syms_of_character): Setup Vchar_width_table for eight-bit-control and raw-byte chars. --- src/character.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/character.c b/src/character.c index 271a350db06..aa279183e77 100644 --- a/src/character.c +++ b/src/character.c @@ -903,6 +903,9 @@ Such characters have value t in this table. */); 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. */); -- 2.39.5