Mercurial > emacs
changeset 43164:4ef02dc6ecd0
(where_is_internal): Only check if definition is
remapped if it fulfills is_command_symbol.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 07 Feb 2002 11:12:50 +0000 |
parents | a7594a7b2ca2 |
children | 9714dc041391 |
files | src/keymap.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keymap.c Thu Feb 07 11:12:04 2002 +0000 +++ b/src/keymap.c Thu Feb 07 11:12:50 2002 +0000 @@ -2272,7 +2272,7 @@ /* If this command is remapped, then it has no key bindings of its own. */ - if (NILP (no_remap) + if (NILP (no_remap) && is_command_symbol (definition) && !NILP (Fkey_binding (definition, Qnil, Qt))) return Qnil;