Variable: overriding-local-map-menu-flag
overriding-local-map-menu-flag is a variable defined in keyboard.c.
Value
nil
Documentation
Non-nil means overriding-local-map applies to the menu bar.
Otherwise, the menu bar continues to reflect the buffer's local map
and the minor mode maps regardless of overriding-local-map.
Probably introduced at or before Emacs version 19.29.
Source Code
// Defined in /usr/src/emacs/src/keyboard.c
DEFVAR_LISP ("overriding-local-map-menu-flag", Voverriding_local_map_menu_flag,
doc: /* Non-nil means `overriding-local-map' applies to the menu bar.
Otherwise, the menu bar continues to reflect the buffer's local map
and the minor mode maps regardless of `overriding-local-map'. */);