Mercurial > emacs
diff src/keymap.c @ 7341:516dd16e2017
(describe_map): Ignore bindings for all except symbols and integers.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Thu, 05 May 1994 20:25:41 +0000 |
| parents | bd2f9c5ee54e |
| children | 93b5868150b9 |
line wrap: on
line diff
--- a/src/keymap.c Thu May 05 19:31:09 1994 +0000 +++ b/src/keymap.c Thu May 05 20:25:41 1994 +0000 @@ -2073,9 +2073,12 @@ else if (CONSP (XCONS (tail)->car)) { event = XCONS (XCONS (tail)->car)->car; - /* Don't show individual items in the Buffers menu. */ - if (STRINGP (event)) + + /* Ignore bindings whose "keys" are not really valid events. + (We get these in the frames and buffers menu.) */ + if (! (SYMBOLP (event) || INTEGERP (event))) continue; + definition = get_keyelt (XCONS (XCONS (tail)->car)->cdr, 0); /* Don't show undefined commands or suppressed commands. */
