Commit b864457c authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(where_is_internal): Only check if definition is

remapped if it fulfills is_command_symbol.
parent 72bba9f2
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment