1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00

(describe_vector): Test for suppressed commands in

all cases.  Call get_keyelt with two arguments.
This commit is contained in:
Richard M. Stallman 1997-04-19 22:59:20 +00:00
parent 67fc16a3bf
commit cc3e64653b

View file

@ -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)
{