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:
parent
64d2e5a7ad
commit
764bad713e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue