diff options
| author | Miles Bader | 2007-01-26 06:16:11 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-01-26 06:16:11 +0000 |
| commit | c0466914ba3ad88c402b0301646b4b5db8aeb913 (patch) | |
| tree | 964d8df324ab5f46872dfedc92ccea9fe50a1441 /src/keymap.c | |
| parent | c97a3f22ed5841f1c8bcdbb80df2bd49635c6a56 (diff) | |
| parent | 58f8a3f97bd49484d0eb4f83a70662ded0daf9cc (diff) | |
| download | emacs-c0466914ba3ad88c402b0301646b4b5db8aeb913.tar.gz emacs-c0466914ba3ad88c402b0301646b4b5db8aeb913.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 586-614)
- Update from CVS
- Update from erc--emacs--22
- Merge from gnus--rel--5.10
- Merge from erc--main--0
- Make byte compiler correctly write circular constants
* gnus--rel--5.10 (patch 186-196)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/keymap.c b/src/keymap.c index 3fd81effb04..671801fa1ba 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Manipulation of keymaps | 1 | /* Manipulation of keymaps |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, |
| 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006 Free Software Foundation, Inc. | 4 | 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -3452,9 +3452,13 @@ describe_map (map, prefix, elt_describer, partial, shadow, | |||
| 3452 | tem = shadow_lookup (shadow, kludge, Qt); | 3452 | tem = shadow_lookup (shadow, kludge, Qt); |
| 3453 | if (!NILP (tem)) | 3453 | if (!NILP (tem)) |
| 3454 | { | 3454 | { |
| 3455 | /* If both bindings are keymaps, this key is a prefix key, | ||
| 3456 | so don't say it is shadowed. */ | ||
| 3457 | if (KEYMAPP (definition) && KEYMAPP (tem)) | ||
| 3458 | ; | ||
| 3455 | /* Avoid generating duplicate entries if the | 3459 | /* Avoid generating duplicate entries if the |
| 3456 | shadowed binding has the same definition. */ | 3460 | shadowed binding has the same definition. */ |
| 3457 | if (mention_shadow && !EQ (tem, definition)) | 3461 | else if (mention_shadow && !EQ (tem, definition)) |
| 3458 | this_shadowed = 1; | 3462 | this_shadowed = 1; |
| 3459 | else | 3463 | else |
| 3460 | continue; | 3464 | continue; |