]> git.eshelyaron.com Git - emacs.git/commitdiff
(update_menu_bindings): Variable deleted.
authorRichard M. Stallman <rms@gnu.org>
Sun, 25 Sep 2005 23:49:15 +0000 (23:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 25 Sep 2005 23:49:15 +0000 (23:49 +0000)
(syms_of_keyboard): Don't defvar it.
(parse_menu_item): Don't test it.

src/keyboard.c

index a39e2699d5f3c07780c5d09761c8e6d75c224bea..a04f0e6dd3278bb8d23d5427e2c78d05c9ad308b 100644 (file)
@@ -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.  */);