diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-05-16 04:28:27 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-05-16 04:28:27 +0000 |
commit | e9f50ba47d68a4c2b4e68476e9b45859be50402b (patch) | |
tree | 686a658e8fb2f1219c279d7c5158973f53d38ebb /src/keyboard.c | |
parent | 6eca06138fb8b5cb46ae65735ad81efe2e544987 (diff) | |
download | emacs-e9f50ba47d68a4c2b4e68476e9b45859be50402b.tar.gz |
(parse_menu_item): Do not cache key shortcut any more.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index c41815cf3c5..5a8b0d1c0cf 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -7986,8 +7986,11 @@ parse_menu_item (item, notreal, inmenubar) 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); |