5.4.1 File Menu Customization

Anju customizes the File menu using the hook function anju-main-menu--reconfigure-file.

Add this hook function to anju-reconfigure-main-menu-hook to enable customization of the File menu.

If customize-variable is used to configure anju-reconfigure-main-menu-hook, then a checkbox interface to enable anju-main-menu--reconfigure-file is displayed.

anju-main-menu--reconfigure-file supports the following customization variable:

anju-file-menu-replace-make-frame-on

If non-nil, the following menu items are replaced with more context-specific behavior:

  • “New Frame on Display Server…” - will only display if on an X11 system.
  • “New Frame on Monitor…” - will only display if more than one monitor is detected.