mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
(keymap_memberp): Ensure that nil is not a member.
This commit is contained in:
parent
45e680a83c
commit
7e05cdaf48
2 changed files with 5 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue