Previous: Mode Line Buffer List Menu Customization, Up: Customization   [Contents][Index]


5.4 Main Menu Customization ¶

Anju uses the customizable hook variable anju-reconfigure-main-menu-hook to customize the main 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 main 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 main menu bar is by convention.

For more info on hook variables see emacs#Hooks.

  • File Menu Customization
  • Edit Menu Customization
  • Options Menu Customization
  • Text Menu Customization
  • Bookmarks Menu Customization
  • Help Menu Customization
  • Imenu Menu Customization