changeset 95031:cd54e612f34f

(parse_menu_item): Fix last change.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 16 May 2008 04:55:56 +0000
parents 7f50b5fc70de
children fbe58782bc21
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Fri May 16 04:28:27 2008 +0000
+++ b/src/keyboard.c	Fri May 16 04:55:56 2008 +0000
@@ -7990,8 +7990,9 @@
          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))