comparison src/keymap.c @ 20576:b916d29222a3

(current_minor_maps): If a variable has an entry in Vminor_mode_overriding_map_alist, and also an entry in Vminor_mode_map_alist, ignore the latter.
author Richard M. Stallman <rms@gnu.org>
date Fri, 02 Jan 1998 23:37:19 +0000
parents 40bfe766d355
children 9ac0b485cf60
comparison
equal deleted inserted replaced
20575:460e5621e8c9 20576:b916d29222a3
1075 && (val = find_symbol_value (var), ! EQ (val, Qunbound)) 1075 && (val = find_symbol_value (var), ! EQ (val, Qunbound))
1076 && ! NILP (val)) 1076 && ! NILP (val))
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;
1083 1093
1084 if (cmm_maps) 1094 if (cmm_maps)