diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keymap.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/keymap.c b/src/keymap.c index 0ba367d29f8..4137de08a57 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1077,6 +1077,16 @@ current_minor_maps (modeptr, mapptr) | |||
| 1077 | { | 1077 | { |
| 1078 | Lisp_Object temp; | 1078 | Lisp_Object temp; |
| 1079 | 1079 | ||
| 1080 | /* If a variable has an entry in Vminor_mode_overriding_map_alist, | ||
| 1081 | and also an entry in Vminor_mode_map_alist, | ||
| 1082 | ignore the latter. */ | ||
| 1083 | if (list_number == 1) | ||
| 1084 | { | ||
| 1085 | val = assq_no_quit (var, lists[0]); | ||
| 1086 | if (!NILP (val)) | ||
| 1087 | break; | ||
| 1088 | } | ||
| 1089 | |||
| 1080 | if (i >= cmm_size) | 1090 | if (i >= cmm_size) |
| 1081 | { | 1091 | { |
| 1082 | Lisp_Object *newmodes, *newmaps; | 1092 | Lisp_Object *newmodes, *newmaps; |