From: Kenichi Handa Date: Wed, 12 Jun 2002 00:13:15 +0000 (+0000) Subject: (syms_of_character): Setup Vchar_width_table for X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~661 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be8b50bc30e6f0b8d77838fa28389b2a7b3d3185;p=emacs.git (syms_of_character): Setup Vchar_width_table for eight-bit-control and raw-byte chars. --- 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. */);