From 2071918ec9a1562d5f0aa6218d98f80318a33466 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Fri, 18 Nov 2011 11:50:16 -0500 Subject: [PATCH] * src/keymap.c (Fwhere_is_internal): Add missing RETURN_UNGCPROs. --- src/ChangeLog | 4 ++++ src/keymap.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 199f20817ea..1bb4a6a5993 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-11-18 Dmitry Antipov + + * keymap.c (Fwhere_is_internal): Add missing RETURN_UNGCPROs. + 2011-11-18 Stefan Monnier * intervals.c: Fix grafting over the whole buffer (bug#10071). diff --git a/src/keymap.c b/src/keymap.c index 6f9cf288f6d..b429ca968d7 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -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, -- 2.39.2