# HG changeset patch # User Richard M. Stallman # Date 793530308 0 # Node ID b7824d6a6b362836d3a4fde33a71d8fd5cc09dd6 # Parent 64fcde7a14383041ffff223dd3d1db3025f81b77 (menu_item_equiv_key): Delete the code that rejected menu bindings returned by Fwhere_is_internal. diff -r 64fcde7a1438 -r b7824d6a6b36 src/xmenu.c --- a/src/xmenu.c Thu Feb 23 09:04:34 1995 +0000 +++ b/src/xmenu.c Thu Feb 23 09:05:08 1995 +0000 @@ -355,22 +355,6 @@ We don't try both, because that makes easymenu menus slow. */ savedkey = Fwhere_is_internal (def, Qnil, Qt, Qnil); - - if (VECTORP (savedkey) - && EQ (XVECTOR (savedkey)->contents[0], Qmenu_bar)) - savedkey = Qnil; - /* Reject two-key sequences that start with a mouse click. - These are probably menu items. */ - if (VECTORP (savedkey) - && XVECTOR (savedkey)->size > 1 - && SYMBOLP (XVECTOR (savedkey)->contents[0])) - { - Lisp_Object tem; - - tem = Fget (XVECTOR (savedkey)->contents[0], Qevent_kind); - if (EQ (tem, Qmouse_click)) - savedkey = Qnil; - } if (!NILP (savedkey)) { descrip = Fkey_description (savedkey);