aboutsummaryrefslogtreecommitdiffstats
path: root/src/pgtkmenu.c
diff options
context:
space:
mode:
authorAlan Mackenzie2022-07-12 09:31:08 +0000
committerAlan Mackenzie2022-07-12 09:31:08 +0000
commitfe5e789ff84d3b41b2a22cc18fd0a208502fede5 (patch)
tree5fa985d5fe17c30cd1354e31451c9da8495cae00 /src/pgtkmenu.c
parent93b31707e97f8ddf11aa8acbf5c61bc29b5f7528 (diff)
downloademacs-fe5e789ff84d3b41b2a22cc18fd0a208502fede5.tar.gz
emacs-fe5e789ff84d3b41b2a22cc18fd0a208502fede5.zip
Expunge unused recompute-lucid-menubar, lucid-menu-bar-dirty-flag
This fixes bug #56502. That function and these variables were manipulated by the former file emacs-lisp/lmenu.el that was finally expunged from directory obsolete/ by Stefan Kangas on 2020-05-15. There remain references to them in the *.c, and *.m files. * src/keyboard.c (syms_of_keyboard): Remove declarations of the symbol and variable. * src/haikumenu.c (set_frame_menu_bar) * src/keyboard.c (command_loop_1) * src/nsmenu.m (ns_update_menubar) * src/pgtkmenu.c (set_frame_menubar) * src/xdisp.c (update_menu_bar) * src/xmenu.c (set_frame_menubar): Remove calls to Qrecompute_lucid_menubar contitional on Vlucid_menu_bar_dirty_flag.
Diffstat (limited to 'src/pgtkmenu.c')
-rw-r--r--src/pgtkmenu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pgtkmenu.c b/src/pgtkmenu.c
index 2eabf6ac1bc..d147f4b4168 100644
--- a/src/pgtkmenu.c
+++ b/src/pgtkmenu.c
@@ -289,8 +289,6 @@ set_frame_menubar (struct frame *f, bool deep_p)
289 289
290 /* If it has changed current-menubar from previous value, 290 /* If it has changed current-menubar from previous value,
291 really recompute the menubar from the value. */ 291 really recompute the menubar from the value. */
292 if (!NILP (Vlucid_menu_bar_dirty_flag))
293 call0 (Qrecompute_lucid_menubar);
294 safe_run_hooks (Qmenu_bar_update_hook); 292 safe_run_hooks (Qmenu_bar_update_hook);
295 fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); 293 fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f)));
296 294