aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/keyboard.c7
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9c5c073fc79..cff5c24b1fd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12008-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keyboard.c (parse_menu_item): Do not cache key shortcut any more.
4
12008-05-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 52008-05-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 6
3 * macterm.c (x_draw_relief_rect): Remove unused variable `dpy'. 7 * macterm.c (x_draw_relief_rect): Remove unused variable `dpy'.
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)
7986 if (NILP (cachelist)) 7986 if (NILP (cachelist))
7987 { 7987 {
7988 /* We have to create a cachelist. */ 7988 /* We have to create a cachelist. */
7989 CHECK_IMPURE (start); 7989 /* With the introduction of where_is_cache, the computation
7990 XSETCDR (start, Fcons (Fcons (Qnil, Qnil), XCDR (start))); 7990 of equivalent key bindings is sufficiently fast that we
7991 do not need to cache it here any more. */
7992 /* CHECK_IMPURE (start);
7993 XSETCDR (start, Fcons (Fcons (Qnil, Qnil), XCDR (start))); */
7991 cachelist = XCAR (XCDR (start)); 7994 cachelist = XCAR (XCDR (start));
7992 newcache = 1; 7995 newcache = 1;
7993 tem = AREF (item_properties, ITEM_PROPERTY_KEYEQ); 7996 tem = AREF (item_properties, ITEM_PROPERTY_KEYEQ);