* src/keymap.c (Fwhere_is_internal): Add missing RETURN_UNGCPROs.

This commit is contained in:
Dmitry Antipov 2011-11-18 11:50:16 -05:00 committed by Stefan Monnier
parent 2ad52c605c
commit 2071918ec9
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2011-11-18 Dmitry Antipov <dmantipov@yandex.ru>
* keymap.c (Fwhere_is_internal): Add missing RETURN_UNGCPROs.
2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
* intervals.c: Fix grafting over the whole buffer (bug#10071).

View file

@ -2624,11 +2624,11 @@ remapped command in the returned list. */)
/* We have a list of advertised bindings. */
while (CONSP (tem))
if (EQ (shadow_lookup (keymaps, XCAR (tem), Qnil, 0), definition))
return XCAR (tem);
RETURN_UNGCPRO (XCAR (tem));
else
tem = XCDR (tem);
if (EQ (shadow_lookup (keymaps, tem, Qnil, 0), definition))
return tem;
RETURN_UNGCPRO (tem);
}
sequences = Freverse (where_is_internal (definition, keymaps,