]> git.eshelyaron.com Git - emacs.git/commitdiff
(where_is_internal): Only check if definition is
authorKim F. Storm <storm@cua.dk>
Thu, 7 Feb 2002 11:12:50 +0000 (11:12 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 7 Feb 2002 11:12:50 +0000 (11:12 +0000)
remapped if it fulfills is_command_symbol.

src/keymap.c

index 21c78780252a4394b1a302200f69a3f9de739e13..d37e7bd14800c668db93e7aa91ffb3baea7a3b56 100644 (file)
@@ -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;