From: Stefan Monnier Date: Fri, 16 May 2008 04:55:56 +0000 (+0000) Subject: (parse_menu_item): Fix last change. X-Git-Tag: emacs-pretest-23.0.90~5490 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a58041570c73483f0281893e15b8f52394d6484a;p=emacs.git (parse_menu_item): Fix last change. --- 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))