Commit cc3e6465 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(describe_vector): Test for suppressed commands in

all cases.  Call get_keyelt with two arguments.
parent 67fc16a3
......@@ -2623,12 +2623,13 @@ describe_vector (vector, elt_prefix, elt_describer,
if (i >= CHAR_TABLE_SINGLE_BYTE_SLOTS
&& !CHARSET_DEFINED_P (i - 128))
continue;
definition = get_keyelt (XCHAR_TABLE (vector)->contents[i]);
if (NILP (definition)) continue;
definition = get_keyelt (XCHAR_TABLE (vector)->contents[i], 0);
}
else
definition = get_keyelt (XVECTOR (vector)->contents[i], 0);
if (NILP (definition)) continue;
/* Don't mention suppressed commands. */
if (SYMBOLP (definition) && partial)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment