From 4e3c23928c54953003019bfbdf63e88f9f38de9e Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Tue, 29 Nov 2016 17:48:33 -0800 Subject: [PATCH] Return to pager upon aborting a jump operation. (closes #3901) --- curs_main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/curs_main.c b/curs_main.c index a09770578..7e45ba68e 100644 --- a/curs_main.c +++ b/curs_main.c @@ -831,7 +831,14 @@ int mutt_index_menu (void) buf[0] = 0; if (mutt_get_field (_("Jump to message: "), buf, sizeof (buf), 0) != 0 || !buf[0]) + { + if (menu->menu == MENU_PAGER) + { + op = OP_DISPLAY_MESSAGE; + continue; + } break; + } if (mutt_atoi (buf, &i) < 0) { -- 2.40.0