From 9867523c82ffbaea5bd02a8b98f9e1844c8c7496 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 25 Sep 2005 23:49:15 +0000 Subject: [PATCH] (update_menu_bindings): Variable deleted. (syms_of_keyboard): Don't defvar it. (parse_menu_item): Don't test it. --- src/keyboard.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index a39e2699d5f..a04f0e6dd32 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -474,10 +474,6 @@ int input_pending; 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 @@ parse_menu_item (item, notreal, inmenubar) 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 @@ suppressed only after special commands that set `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. */); -- 2.39.2