Anju uses the customizable hook variable anju-reconfigure-main-menu-hook to customize the menu bar.
anju-reconfigure-main-menu-hook is a list of hook functions, where each function is designed to modify a different menu of the menu bar (e.g. “File”, “Edit”, “Options”, etc.). This hook is run in the command anju-init.
Detailed below are the different hook functions provided for by Anju.
Users are free to implement their own hook functions to add to anju-reconfigure-main-menu-hook. Users who wish to do this should familiarize themselves with menu keymaps ((elisp)Menu Keymaps) and the Easy Menu ((elisp)Easy Menu) library.
Note that Anju’s implementation of hook functions to each affect a specific menu in the menu bar is by convention.
For more info on hook variables see (emacs)Hooks.