From: Karl Heuer Date: Fri, 9 Jun 1995 00:52:18 +0000 (+0000) Subject: (read_key_sequence): Don't run activate-menubar-hook X-Git-Tag: emacs-19.34~3717 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a63d64fb53ca8a56406b90c9ac526eb97e20ab7d;p=emacs.git (read_key_sequence): Don't run activate-menubar-hook or call recompute-lucid-menubar. --- diff --git a/src/keyboard.c b/src/keyboard.c index 5556e3d18be..78fcb6743ce 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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;