changeset 4097:15c4c0c37fe2

* keyboard.c (menu_bar_one_keymap): If the key's binding is the symbol `undefined', don't try to take that symbol's cdr before passing it to menu_bar_item; pass the `undefined' binding itself, so menu_bar_item can remove bindings for the same key from result.
author Jim Blandy <jimb@redhat.com>
date Thu, 15 Jul 1993 04:58:59 +0000
parents badd80e9e4fc
children 0a02227f8417
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Thu Jul 15 04:01:14 1993 +0000
+++ b/src/keyboard.c	Thu Jul 15 04:58:59 1993 +0000
@@ -3235,7 +3235,7 @@
 	    }
 	  else if (EQ (binding, Qundefined))
 	    result = menu_bar_item (key, item_string,
-				    Fcdr (binding), result);
+				    binding, result);
 	}
       else if (XTYPE (item) == Lisp_Vector)
 	{
@@ -3256,7 +3256,7 @@
 		}
 	      else if (EQ (binding, Qundefined))
 		result = menu_bar_item (key, item_string,
-					Fcdr (binding), result);
+					binding, result);
 	    }
 	}
     }