diff options
author | Richard M. Stallman <[email protected]> | 1997-04-19 22:59:20 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1997-04-19 22:59:20 +0000 |
commit | cc3e64653b1bece79e94cfd530ed05dfbf2006ea (patch) | |
tree | 2b0a01d66e2df0933bb71663ed661ce95c08b017 /src/keymap.c | |
parent | 67fc16a3bf80ca4736af9d21093adc84ca7d4e17 (diff) |
(describe_vector): Test for suppressed commands in
all cases. Call get_keyelt with two arguments.
Diffstat (limited to 'src/keymap.c')
-rw-r--r-- | src/keymap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c index e042f64a09..7ef50502ba 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -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) { |