changeset 10809:b7824d6a6b36

(menu_item_equiv_key): Delete the code that rejected menu bindings returned by Fwhere_is_internal.
author Richard M. Stallman <rms@gnu.org>
date Thu, 23 Feb 1995 09:05:08 +0000
parents 64fcde7a1438
children 9b418bde9fcf
files src/xmenu.c
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- 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);