diff options
| author | Richard M. Stallman | 1994-05-05 20:25:41 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-05 20:25:41 +0000 |
| commit | 2c3b35b0cd1a35516623cae344c14b1bfde68c21 (patch) | |
| tree | 9392d45382b50c98ea7320b963264337e502f900 /src/keymap.c | |
| parent | 5416d1eee81a783f15c2754c34bacd4c97d14145 (diff) | |
| download | emacs-2c3b35b0cd1a35516623cae344c14b1bfde68c21.tar.gz emacs-2c3b35b0cd1a35516623cae344c14b1bfde68c21.zip | |
(describe_map): Ignore bindings for all except symbols and integers.
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c index 6d535751dc9..222455328a2 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -2073,9 +2073,12 @@ describe_map (map, keys, elt_describer, partial, shadow, seen) | |||
| 2073 | else if (CONSP (XCONS (tail)->car)) | 2073 | else if (CONSP (XCONS (tail)->car)) |
| 2074 | { | 2074 | { |
| 2075 | event = XCONS (XCONS (tail)->car)->car; | 2075 | event = XCONS (XCONS (tail)->car)->car; |
| 2076 | /* Don't show individual items in the Buffers menu. */ | 2076 | |
| 2077 | if (STRINGP (event)) | 2077 | /* Ignore bindings whose "keys" are not really valid events. |
| 2078 | (We get these in the frames and buffers menu.) */ | ||
| 2079 | if (! (SYMBOLP (event) || INTEGERP (event))) | ||
| 2078 | continue; | 2080 | continue; |
| 2081 | |||
| 2079 | definition = get_keyelt (XCONS (XCONS (tail)->car)->cdr, 0); | 2082 | definition = get_keyelt (XCONS (XCONS (tail)->car)->cdr, 0); |
| 2080 | 2083 | ||
| 2081 | /* Don't show undefined commands or suppressed commands. */ | 2084 | /* Don't show undefined commands or suppressed commands. */ |