]> granicus.if.org Git - neomutt/commitdiff
drop unused summary menu
authorRichard Russon <rich@flatcap.org>
Tue, 23 Jul 2019 22:40:26 +0000 (23:40 +0100)
committerRichard Russon <rich@flatcap.org>
Wed, 24 Jul 2019 21:56:41 +0000 (22:56 +0100)
functions.h
keymap.c
keymap.h

index 6407fd1b07869ca7395791345f512ff38f8e8c82..bfb5b9c23aa5444f0610609b0662f8d29d478953 100644 (file)
@@ -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 */
index bb9aa05f9210f20cdf4da95a54abc71b620d092f..082e7af71fefb371144e47dc970f00a825a7fd79 100644 (file)
--- 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;
 }
index 1ff9602ef1607d9f33cb6279072598e49039fbde..63ce9cd9cfa7971b88c4d21f603637328a40c240 100644 (file)
--- 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,
 };