From b864457cf8b8f0850b925131a201402a4c944bd1 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Thu, 7 Feb 2002 11:12:50 +0000 Subject: [PATCH] (where_is_internal): Only check if definition is remapped if it fulfills is_command_symbol. --- src/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5