The hook function anju-main-menu--reconfigure-text-mode in anju-reconfigure-main-menu-hook modifies the Text menu in the main menu bar.
Enabling anju-main-menu--reconfigure-text-mode can be done using the checkbox interface provided by customize-variable when modifying anju-reconfigure-main-menu-hook.
Note that the Text menu is only displayed when the current major mode is derived from text-mode.