From a58041570c73483f0281893e15b8f52394d6484a Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 16 May 2008 04:55:56 +0000 Subject: [PATCH] (parse_menu_item): Fix last change. --- src/keyboard.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index 5a8b0d1c0cf..45f3d2f6194 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -7990,8 +7990,9 @@ parse_menu_item (item, notreal, inmenubar) of equivalent key bindings is sufficiently fast that we do not need to cache it here any more. */ /* CHECK_IMPURE (start); - XSETCDR (start, Fcons (Fcons (Qnil, Qnil), XCDR (start))); */ - cachelist = XCAR (XCDR (start)); + XSETCDR (start, Fcons (Fcons (Qnil, Qnil), XCDR (start))); + cachelist = XCAR (XCDR (start)); */ + cachelist = Fcons (Qnil, Qnil); newcache = 1; tem = AREF (item_properties, ITEM_PROPERTY_KEYEQ); if (!NILP (keyhint)) -- 2.39.2