Commit 64dd3629 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(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.
parent f171f7c3
......@@ -1077,6 +1077,16 @@ current_minor_maps (modeptr, mapptr)
{
Lisp_Object temp;
/* If a variable has an entry in Vminor_mode_overriding_map_alist,
and also an entry in Vminor_mode_map_alist,
ignore the latter. */
if (list_number == 1)
{
val = assq_no_quit (var, lists[0]);
if (!NILP (val))
break;
}
if (i >= cmm_size)
{
Lisp_Object *newmodes, *newmaps;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment