Commit a8f2b96f authored by Thomas Roessler's avatar Thomas Roessler

Remove the OP_PAGER_EXIT opcode, and change it to OP_EXIT.

parent acbb122c
......@@ -119,7 +119,6 @@ OP_NEXT_ENTRY "move to the next entry"
OP_NEXT_LINE "scroll down one line"
OP_NEXT_PAGE "move to the next page"
OP_PAGER_BOTTOM "jump to the bottom of the message"
OP_PAGER_EXIT "return to the main-menu"
OP_PAGER_HIDE_QUOTED "toggle display of quoted text"
OP_PAGER_SKIP_QUOTED "skip beyond quoted text"
OP_PAGER_TOP "jump to the top of the message"
......
......@@ -161,7 +161,7 @@ struct binding_t OpPager[] = {
{ "flag-message", OP_FLAG_MESSAGE, "F" },
{ "group-reply", OP_GROUP_REPLY, "g" },
{ "display-toggle-weed", OP_DISPLAY_HEADERS, "h" },
{ "exit", OP_PAGER_EXIT, "i" },
{ "exit", OP_EXIT, "i" },
{ "next-undeleted", OP_MAIN_NEXT_UNDELETED, "j" },
{ "next-entry", OP_NEXT_ENTRY, "J" },
{ "previous-undeleted",OP_MAIN_PREV_UNDELETED, "k" },
......
......@@ -588,8 +588,8 @@ void km_init (void)
km_bindkey ("<enter>", MENU_MAIN, OP_DISPLAY_MESSAGE);
km_bindkey ("x", MENU_PAGER, OP_PAGER_EXIT);
km_bindkey ("q", MENU_PAGER, OP_PAGER_EXIT);
km_bindkey ("x", MENU_PAGER, OP_EXIT);
km_bindkey ("q", MENU_PAGER, OP_EXIT);
km_bindkey ("<backspace>", MENU_PAGER, OP_PREV_LINE);
km_bindkey ("<pagedown>", MENU_PAGER, OP_NEXT_PAGE);
km_bindkey ("<pageup>", MENU_PAGER, OP_PREV_PAGE);
......
......@@ -1379,15 +1379,15 @@ upNLines (int nlines, struct line_t *info, int cur, int hiding)
}
static struct mapping_t PagerHelp[] = {
{ N_("Exit"), OP_PAGER_EXIT },
{ N_("PrevPg"), OP_PREV_PAGE },
{ N_("Exit"), OP_EXIT },
{ N_("PrevPg"), OP_PREV_PAGE },
{ N_("NextPg"), OP_NEXT_PAGE },
{ NULL, 0 }
};
static struct mapping_t PagerHelpExtra[] = {
{ N_("View Attachm."), OP_VIEW_ATTACHMENTS },
{ N_("Del"), OP_DELETE },
{ N_("Reply"), OP_REPLY },
{ N_("View Attachm."), OP_VIEW_ATTACHMENTS },
{ N_("Del"), OP_DELETE },
{ N_("Reply"), OP_REPLY },
{ N_("Next"), OP_MAIN_NEXT_UNDELETED },
{ NULL, 0 }
};
......@@ -1764,7 +1764,7 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t *extra)
switch (ch)
{
case OP_PAGER_EXIT:
case OP_EXIT:
rc = -1;
ch = -1;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment