Mercurial > emacs
changeset 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 | 85094617d51a |
children | cd54e612f34f |
files | src/ChangeLog src/keyboard.c |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri May 16 02:05:57 2008 +0000 +++ b/src/ChangeLog Fri May 16 04:28:27 2008 +0000 @@ -1,3 +1,7 @@ +2008-05-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (parse_menu_item): Do not cache key shortcut any more. + 2008-05-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> * macterm.c (x_draw_relief_rect): Remove unused variable `dpy'.
--- 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);