mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
(describe_vector): Identify charset row numbers clearly.
This commit is contained in:
parent
01a6ef79ef
commit
542d7fd2ba
1 changed files with 9 additions and 7 deletions
16
src/keymap.c
16
src/keymap.c
|
|
@ -2882,9 +2882,9 @@ describe_vector (vector, elt_prefix, elt_describer,
|
|||
{
|
||||
/* We need an octal representation for this block of
|
||||
characters. */
|
||||
char work[5];
|
||||
sprintf (work, "\\%03o", i & 255);
|
||||
insert (work, 4);
|
||||
char work[16];
|
||||
sprintf (work, "(row %d)", i);
|
||||
insert (work, strlen (work));
|
||||
}
|
||||
}
|
||||
else if (CHAR_TABLE_P (vector))
|
||||
|
|
@ -2922,7 +2922,7 @@ describe_vector (vector, elt_prefix, elt_describer,
|
|||
|
||||
starting_i = i;
|
||||
|
||||
/* Find all consecutive characters that have the same
|
||||
/* Find all consecutive characters or rows that have the same
|
||||
definition. But, for elements of a top level char table, if
|
||||
they are for charsets, we had better describe one by one even
|
||||
if they have the same definition. */
|
||||
|
|
@ -2972,9 +2972,11 @@ describe_vector (vector, elt_prefix, elt_describer,
|
|||
}
|
||||
else
|
||||
{
|
||||
char work[5];
|
||||
sprintf (work, "\\%03o", i & 255);
|
||||
insert (work, 4);
|
||||
/* We need an octal representation for this block of
|
||||
characters. */
|
||||
char work[16];
|
||||
sprintf (work, "(row %d)", i);
|
||||
insert (work, strlen (work));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue