diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c index 04d2bb28d5f..c0a0f21a126 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -368,10 +368,10 @@ fix_submap_inheritance (map, event, submap) | |||
| 368 | /* SUBMAP is a cons that we found as a key binding. | 368 | /* SUBMAP is a cons that we found as a key binding. |
| 369 | Discard the other things found in a menu key binding. */ | 369 | Discard the other things found in a menu key binding. */ |
| 370 | 370 | ||
| 371 | if CONSP (submap) | 371 | if (CONSP (submap)) |
| 372 | { | 372 | { |
| 373 | /* May be an old format menu item */ | 373 | /* May be an old format menu item */ |
| 374 | if STRINGP (XCONS (submap)->car) | 374 | if (STRINGP (XCONS (submap)->car)) |
| 375 | { | 375 | { |
| 376 | submap = XCONS (submap)->cdr; | 376 | submap = XCONS (submap)->cdr; |
| 377 | /* Also remove a menu help string, if any, | 377 | /* Also remove a menu help string, if any, |