Easymenu is great for creating menus, but how can you remove a top-level menu that was created with it?
Here's an example. A minor mode might create the following menu:
(easy-menu-define some-minor-mode-menu some-minor-mode-map
"Menu keymap for some minor mode."
'("Menu"
["Item" command t]
...))
How would you remove this menu from the menubar using easymenu's own commands? Unfortunately, easymenu is poorly documented and all the available documentation is about how to add menus and submenus.
(I have been able to remove this sort of menu by adding (define-key some-minor-mode-map [menu-bar Menu] nil)
to the major mode's hook, but is that the only way to do it? Does easymenu provide no facilities for this?)