the shadowed binding has the same definition.
+2006-05-09 Chong Yidong <cyd@stupidchicken.com>
+
+ * keymap.c (describe_map): Avoid generating duplicate entries if
+ the shadowed binding has the same definition.
+
2006-05-09 Kenichi Handa <handa@m17n.org>
* keymap.c (push_key_description): Handle invalid character key.
tem = shadow_lookup (shadow, kludge, Qt);
if (!NILP (tem))
{
- if (mention_shadow)
+ /* Avoid generating duplicate entries if the
+ shadowed binding has the same definition. */
+ if (mention_shadow && !EQ (tem, definition))
this_shadowed = 1;
else
continue;