5.4.1 File Menu Customization

The hook function anju-main-menu--reconfigure-file in anju-reconfigure-main-menu-hook modifies the File menu in the main menu bar.

Enabling anju-main-menu--reconfigure-file can be done using the checkbox interface provided by customize-variable when modifying anju-reconfigure-main-menu-hook.

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.