diff options
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/keymap.c b/src/keymap.c index 7fe8718aa09..fbbbcae3998 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -311,6 +311,7 @@ int | |||
| 311 | keymap_memberp (map, maps) | 311 | keymap_memberp (map, maps) |
| 312 | Lisp_Object map, maps; | 312 | Lisp_Object map, maps; |
| 313 | { | 313 | { |
| 314 | if (NILP (map)) return 0; | ||
| 314 | while (KEYMAPP (maps) && !EQ (map, maps)) | 315 | while (KEYMAPP (maps) && !EQ (map, maps)) |
| 315 | maps = Fkeymap_parent (maps); | 316 | maps = Fkeymap_parent (maps); |
| 316 | return (EQ (map, maps)); | 317 | return (EQ (map, maps)); |