aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorRichard M. Stallman1997-04-19 22:59:20 +0000
committerRichard M. Stallman1997-04-19 22:59:20 +0000
commitcc3e64653b1bece79e94cfd530ed05dfbf2006ea (patch)
tree2b0a01d66e2df0933bb71663ed661ce95c08b017 /src/keymap.c
parent67fc16a3bf80ca4736af9d21093adc84ca7d4e17 (diff)
downloademacs-cc3e64653b1bece79e94cfd530ed05dfbf2006ea.tar.gz
emacs-cc3e64653b1bece79e94cfd530ed05dfbf2006ea.zip
(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.c5
1 files 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,
2623 if (i >= CHAR_TABLE_SINGLE_BYTE_SLOTS 2623 if (i >= CHAR_TABLE_SINGLE_BYTE_SLOTS
2624 && !CHARSET_DEFINED_P (i - 128)) 2624 && !CHARSET_DEFINED_P (i - 128))
2625 continue; 2625 continue;
2626 definition = get_keyelt (XCHAR_TABLE (vector)->contents[i]); 2626 definition = get_keyelt (XCHAR_TABLE (vector)->contents[i], 0);
2627 if (NILP (definition)) continue;
2628 } 2627 }
2629 else 2628 else
2630 definition = get_keyelt (XVECTOR (vector)->contents[i], 0); 2629 definition = get_keyelt (XVECTOR (vector)->contents[i], 0);
2631 2630
2631 if (NILP (definition)) continue;
2632
2632 /* Don't mention suppressed commands. */ 2633 /* Don't mention suppressed commands. */
2633 if (SYMBOLP (definition) && partial) 2634 if (SYMBOLP (definition) && partial)
2634 { 2635 {