]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_key_sequence): Don't run activate-menubar-hook
authorKarl Heuer <kwzh@gnu.org>
Fri, 9 Jun 1995 00:52:18 +0000 (00:52 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 9 Jun 1995 00:52:18 +0000 (00:52 +0000)
or call recompute-lucid-menubar.

src/keyboard.c

index 5556e3d18be45ef53efdcd3d9a30053a25bfb704..78fcb6743ceacc65c6cb1d963b822a5dea221159 100644 (file)
@@ -5407,13 +5407,6 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
                {
                  if (t + 1 >= bufsize)
                    error ("key sequence too long");
-                 /* Run the Lucid hook.  */
-                 if (!NILP (Vrun_hooks))
-                   call1 (Vrun_hooks, Qactivate_menubar_hook);
-                 /* If it has changed current-menubar from previous value,
-                    really recompute the menubar from the value.  */
-                 if (! NILP (Vlucid_menu_bar_dirty_flag))
-                   call0 (Qrecompute_lucid_menubar);
                  keybuf[t] = posn;
                  keybuf[t+1] = key;