From 764bad713e1040cc714b602678009f30c4806fe8 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 25 Aug 2020 13:14:00 +0200 Subject: [PATCH] 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. --- src/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keymap.c b/src/keymap.c index d98b27b7a1b..0608bdddeea 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -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); } -- 2.39.2