[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/keymap.c
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/src/keymap.c |
Date: |
Wed, 10 May 2006 03:32:07 +0000 |
Index: emacs/src/keymap.c
diff -u emacs/src/keymap.c:1.326 emacs/src/keymap.c:1.327
--- emacs/src/keymap.c:1.326 Tue May 9 13:19:57 2006
+++ emacs/src/keymap.c Wed May 10 03:32:06 2006
@@ -3297,7 +3297,9 @@
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;