Mercurial > emacs
diff src/character.c @ 88743:4570f1a4c391
(syms_of_character): Setup Vchar_width_table for
eight-bit-control and raw-byte chars.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Wed, 12 Jun 2002 00:13:15 +0000 |
| parents | f617b1bf301b |
| children | 503c60238368 |
line wrap: on
line diff
--- 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. */);
