Mercurial > emacs
diff src/keyboard.c @ 95030:7f50b5fc70de
(parse_menu_item): Do not cache key shortcut any more.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 16 May 2008 04:28:27 +0000 |
parents | 8971ddf55736 |
children | cd54e612f34f |
line wrap: on
line diff
--- a/src/keyboard.c Fri May 16 02:05:57 2008 +0000 +++ b/src/keyboard.c Fri May 16 04:28:27 2008 +0000 @@ -7986,8 +7986,11 @@ if (NILP (cachelist)) { /* We have to create a cachelist. */ - CHECK_IMPURE (start); - XSETCDR (start, Fcons (Fcons (Qnil, Qnil), XCDR (start))); + /* With the introduction of where_is_cache, the computation + 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)); newcache = 1; tem = AREF (item_properties, ITEM_PROPERTY_KEYEQ);