From cc3e64653b1bece79e94cfd530ed05dfbf2006ea Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 19 Apr 1997 22:59:20 +0000 Subject: [PATCH] (describe_vector): Test for suppressed commands in all cases. Call get_keyelt with two arguments. --- src/keymap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/keymap.c b/src/keymap.c index e042f64a099..7ef50502ba9 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) { -- 2.39.5