mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-25 15: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
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue