diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index c4d49020676..e01e7e17f93 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -5223,6 +5223,10 @@ menu_bar_item (key, item_string, def) | |||
| 5223 | Lisp_Object enabled; | 5223 | Lisp_Object enabled; |
| 5224 | int i; | 5224 | int i; |
| 5225 | 5225 | ||
| 5226 | /* Skip menu-bar equiv keys data. */ | ||
| 5227 | if (CONSP (def) && CONSP (XCONS (def)->car)) | ||
| 5228 | def = XCONS (def)->cdr; | ||
| 5229 | |||
| 5226 | if (EQ (def, Qundefined)) | 5230 | if (EQ (def, Qundefined)) |
| 5227 | { | 5231 | { |
| 5228 | /* If a map has an explicit `undefined' as definition, | 5232 | /* If a map has an explicit `undefined' as definition, |