diff options
author | Kim F. Storm <storm@cua.dk> | 2002-02-07 11:12:50 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2002-02-07 11:12:50 +0000 |
commit | b864457cf8b8f0850b925131a201402a4c944bd1 (patch) | |
tree | 813efeef72178868f746c865dcaf66e03225f1b0 /src/keymap.c | |
parent | 72bba9f25def6a333b8279304a8e0400de05f031 (diff) | |
download | emacs-b864457cf8b8f0850b925131a201402a4c944bd1.tar.gz |
(where_is_internal): Only check if definition is
remapped if it fulfills is_command_symbol.
Diffstat (limited to 'src/keymap.c')
-rw-r--r-- | src/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |