Subject: bug#14086: 24.3.50; `substitute-command-keys': inappropriate "(that binding is currently shadowed by another mode)"

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 29 Apr 2016 00:49:14 +0200

"Drew Adams" <[email-masked]> writes:

>  M-r             previous-matching-history-element
>    (that binding is currently shadowed by another mode)

The wording was introduced by Richard in 2006:

commit 5615dcc03b721ea3a4d619fe8c6f9a4232193c3d
Author: Richard M. Stallman <[email-masked]>
Date:   Tue Apr 18 20:58:59 2006 +0000

    (describe_map): Make "shadowed" warning more verbose.

diff --git a/src/keymap.c b/src/keymap.c
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -3375,2 +3375,2 @@
-	  insert_string ("  (shadowed)");
+	  insert_string ("\n  (that binding is currently shadowed by another mode)");
 	  SET_PT (PT + 1);

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no