diff options
| author | Kim F. Storm | 2002-02-07 11:12:50 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2002-02-07 11:12:50 +0000 |
| commit | b864457cf8b8f0850b925131a201402a4c944bd1 (patch) | |
| tree | 813efeef72178868f746c865dcaf66e03225f1b0 /src | |
| parent | 72bba9f25def6a333b8279304a8e0400de05f031 (diff) | |
| download | emacs-b864457cf8b8f0850b925131a201402a4c944bd1.tar.gz emacs-b864457cf8b8f0850b925131a201402a4c944bd1.zip | |
(where_is_internal): Only check if definition is
remapped if it fulfills is_command_symbol.
Diffstat (limited to 'src')
| -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) | |||
| 2272 | 2272 | ||
| 2273 | /* If this command is remapped, then it has no key bindings | 2273 | /* If this command is remapped, then it has no key bindings |
| 2274 | of its own. */ | 2274 | of its own. */ |
| 2275 | if (NILP (no_remap) | 2275 | if (NILP (no_remap) && is_command_symbol (definition) |
| 2276 | && !NILP (Fkey_binding (definition, Qnil, Qt))) | 2276 | && !NILP (Fkey_binding (definition, Qnil, Qt))) |
| 2277 | return Qnil; | 2277 | return Qnil; |
| 2278 | 2278 | ||