Mercurial > emacs
changeset 17511:10ead0052174
(describe_vector): Test for suppressed commands in
all cases. Call get_keyelt with two arguments.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 19 Apr 1997 22:59:20 +0000 |
parents | 2da99276d613 |
children | 50ada9a65e3d |
files | src/keymap.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keymap.c Sat Apr 19 22:52:28 1997 +0000 +++ b/src/keymap.c Sat Apr 19 22:59:20 1997 +0000 @@ -2623,12 +2623,13 @@ 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) {