(keymap_memberp): Ensure that nil is not a member.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2000-10-16 Stefan Monnier <monnier@cs.yale.edu>
|
||||
|
||||
* keymap.c (keymap_memberp): Ensure that nil is not a member.
|
||||
|
||||
2000-10-16 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* xdisp.c (set_iterator_to_next): Reset box start and end flags of
|
||||
|
||||
@@ -311,6 +311,7 @@ int
|
||||
keymap_memberp (map, maps)
|
||||
Lisp_Object map, maps;
|
||||
{
|
||||
if (NILP (map)) return 0;
|
||||
while (KEYMAPP (maps) && !EQ (map, maps))
|
||||
maps = Fkeymap_parent (maps);
|
||||
return (EQ (map, maps));
|
||||
|
||||
Reference in New Issue
Block a user