Mercurial > emacs
comparison src/keymap.c @ 70554:e1a064810f6f
* keymap.c (describe_map): Avoid generating duplicate entries if
the shadowed binding has the same definition.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 10 May 2006 03:32:06 +0000 |
parents | aa139a4a13b2 |
children | 838fd2b04ce0 b6689e223e2f 146cd8369025 |
comparison
equal
deleted
inserted
replaced
70553:09d3b5632463 | 70554:e1a064810f6f |
---|---|
3295 if (!NILP (shadow)) | 3295 if (!NILP (shadow)) |
3296 { | 3296 { |
3297 tem = shadow_lookup (shadow, kludge, Qt); | 3297 tem = shadow_lookup (shadow, kludge, Qt); |
3298 if (!NILP (tem)) | 3298 if (!NILP (tem)) |
3299 { | 3299 { |
3300 if (mention_shadow) | 3300 /* Avoid generating duplicate entries if the |
3301 shadowed binding has the same definition. */ | |
3302 if (mention_shadow && !EQ (tem, definition)) | |
3301 this_shadowed = 1; | 3303 this_shadowed = 1; |
3302 else | 3304 else |
3303 continue; | 3305 continue; |
3304 } | 3306 } |
3305 } | 3307 } |