From: Kim F. Storm Date: Thu, 7 Feb 2002 11:12:50 +0000 (+0000) Subject: (where_is_internal): Only check if definition is X-Git-Tag: ttn-vms-21-2-B4~16794 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b864457cf8b8f0850b925131a201402a4c944bd1;p=emacs.git (where_is_internal): Only check if definition is remapped if it fulfills is_command_symbol. --- diff --git a/src/keymap.c b/src/keymap.c index 21c78780252..d37e7bd1480 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -2272,7 +2272,7 @@ where_is_internal (definition, keymaps, firstonly, noindirect, no_remap) /* 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;