Make shadowing warning in describe_map less confusing

* src/keymap.c (describe_map): A binding may be shadowed by
something else than a mode (bug#14086) (just a `define-key'
works), so don't say that it's a mode that shadows it.
This commit is contained in:
Lars Ingebrigtsen 2020-08-25 13:14:00 +02:00
parent 64d2e5a7ad
commit 764bad713e

View file

@ -3277,7 +3277,7 @@ describe_map (Lisp_Object map, Lisp_Object prefix,
ptrdiff_t pt = max (PT - 1, BEG);
SET_PT (pt);
insert_string ("\n (that binding is currently shadowed by another mode)");
insert_string ("\n (this binding is currently shadowed)");
pt = min (PT + 1, Z);
SET_PT (pt);
}