# HG changeset patch # User Richard M. Stallman # Date 1127692155 0 # Node ID b4317398b284c4bc79752ed2cda20135ff51f6f0 # Parent cb3218d6e82acb462efd1bfe595c66a2d8195eac (update_menu_bindings): Variable deleted. (syms_of_keyboard): Don't defvar it. (parse_menu_item): Don't test it. diff -r cb3218d6e82a -r b4317398b284 src/keyboard.c --- a/src/keyboard.c Sun Sep 25 21:26:33 2005 +0000 +++ b/src/keyboard.c Sun Sep 25 23:49:15 2005 +0000 @@ -474,10 +474,6 @@ int meta_key; -/* Non-zero means force key bindings update in parse_menu_item. */ - -int update_menu_bindings; - extern char *pending_malloc_warning; /* Circular buffer for pre-read keyboard input. */ @@ -7403,9 +7399,7 @@ else def = AREF (item_properties, ITEM_PROPERTY_DEF); - if (!update_menu_bindings) - chkcache = 0; - else if (NILP (XCAR (cachelist))) /* Have no saved key. */ + if (NILP (XCAR (cachelist))) /* Have no saved key. */ { if (newcache /* Always check first time. */ /* Should we check everything when precomputing key @@ -11409,12 +11403,6 @@ `disable-point-adjustment' (which see) to non-nil. */); Vglobal_disable_point_adjustment = Qnil; - DEFVAR_BOOL ("update-menu-bindings", &update_menu_bindings, - doc: /* Non-nil means updating menu bindings is allowed. -A value of nil means menu bindings should not be updated. -Used during Emacs' startup. */); - update_menu_bindings = 1; - DEFVAR_LISP ("minibuffer-message-timeout", &Vminibuffer_message_timeout, doc: /* *How long to display an echo-area message when the minibuffer is active. If the value is not a number, such messages don't time out. */);