# HG changeset patch # User Kenichi Handa # Date 857029764 0 # Node ID 60ad27660a6584b336d03bab18ccda32b6e318c7 # Parent 3a348cbb354f7e7b0fef5a5017aa964656f9c46d (describe_vector): Do not descibe deeper char-table if enable-multibyte-characters is nil. diff -r 3a348cbb354f -r 60ad27660a65 src/keymap.c --- a/src/keymap.c Thu Feb 27 07:48:21 1997 +0000 +++ b/src/keymap.c Thu Feb 27 07:49:24 1997 +0000 @@ -2525,6 +2525,8 @@ int from, to; /* The current depth of VECTOR if it is char-table. */ int this_level; + /* Flag to tell if we should handle multibyte characters. */ + int multibyte = !NILP (current_buffer->enable_multibyte_characters); /* Array of indices to access each level of char-table. The elements are charset, code1, and code2. */ int idx[3]; @@ -2676,7 +2678,7 @@ /* If we find a char-table within a char-table, scan it recursively; it defines the details for a character set or a portion of a character set. */ - if (CHAR_TABLE_P (vector) && CHAR_TABLE_P (definition)) + if (multibyte && CHAR_TABLE_P (vector) && CHAR_TABLE_P (definition)) { if (this_level == 0 && CHARSET_VALID_P (i))