#define RSORT(x) (SortAlias & SORT_REVERSE) ? -x : x
-static struct mapping_t AliasHelp[] = {
- {N_("Exit"), OP_EXIT},
- {N_("Del"), OP_DELETE},
- {N_("Undel"), OP_UNDELETE},
- {N_("Select"), OP_GENERIC_SELECT_ENTRY},
- {N_("Help"), OP_HELP},
- {NULL, OP_NULL}
-};
-
static void mutt_alias_menu(char *, size_t, alias_t *);
const address_t *alias_lookup(const char *s)
static void alias_entry(char *s, ssize_t slen, MUTTMENU *m, int num)
{
m_strformat(s, slen, COLS - SW, MAlias.alias_format, alias_format_str,
- ((alias_t **)m->data)[num],
- option(OPTARROWCURSOR) ? M_FORMAT_ARROWCURSOR : 0);
+ ((alias_t **)m->data)[num], 0);
}
static int alias_tag (MUTTMENU * menu, int n, int m)
int t = -1;
int i, done = 0;
int op;
- char helpstr[STRING];
int omax;
menu->tag = alias_tag;
menu->menu = MENU_ALIAS;
menu->title = _("Aliases");
- menu->help = mutt_compile_help(helpstr, sizeof(helpstr),
- MENU_ALIAS, AliasHelp);
new_aliases: