]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe_vector): Test for suppressed commands in
authorRichard M. Stallman <rms@gnu.org>
Sat, 19 Apr 1997 22:59:20 +0000 (22:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 19 Apr 1997 22:59:20 +0000 (22:59 +0000)
all cases.  Call get_keyelt with two arguments.

src/keymap.c

index e042f64a0992748c0e97b1a4ac28d7cf7645bf99..7ef50502ba9638f5661d6bb22652343e670e0020 100644 (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)
        {