From 238eeb21a0a2504be53852f12d0258294bd0c15c Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Tue, 23 Jul 2019 23:40:26 +0100 Subject: [PATCH] drop unused summary menu --- functions.h | 9 --------- keymap.c | 2 -- keymap.h | 1 - 3 files changed, 12 deletions(-) diff --git a/functions.h b/functions.h index 6407fd1b0..bfb5b9c23 100644 --- a/functions.h +++ b/functions.h @@ -659,15 +659,6 @@ const struct Binding OpMix[] = { /* map: mixmaster */ }; #endif /* MIXMASTER */ -/** - * OpSummary - Key bindings for the summary menu - */ -const struct Binding OpSummary[] = { /* map: summary */ - { "quit", OP_QUIT, "q" }, - { "help", OP_HELP, "?" }, - { NULL, 0, NULL }, -}; - // clang-format on #endif /* MUTT_FUNCTIONS_H */ diff --git a/keymap.c b/keymap.c index bb9aa05f9..082e7af71 100644 --- a/keymap.c +++ b/keymap.c @@ -1238,8 +1238,6 @@ const struct Binding *km_get_table(int menu) return OpPost; case MENU_QUERY: return OpQuery; - case MENU_SUMMARY: - return OpSummary; } return NULL; } diff --git a/keymap.h b/keymap.h index 1ff9602ef..63ce9cd9c 100644 --- a/keymap.h +++ b/keymap.h @@ -87,7 +87,6 @@ enum MenuType #ifdef MIXMASTER MENU_MIX, ///< Create/edit a Mixmaster chain #endif - MENU_SUMMARY, ///< Summary pages MENU_MAX, }; -- 2.40.0