Mercurial > emacs
changeset 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 | 55e36a0cf0ee |
children | 5b9a72e491d4 |
files | src/character.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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. */);