From d2227f502071cc594dbc77ccb0b3f4d0e7b36ae0 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Sun, 18 Nov 2007 12:25:19 +0100 Subject: [PATCH] OP_VERSION is useless. Signed-off-by: Pierre Habouzit --- OPS | 1 - commands.c | 5 ----- functions.def | 2 -- lib-ui/curs_main.c | 4 ---- pager.c | 4 ---- protos.h | 1 - 6 files changed, 17 deletions(-) diff --git a/OPS b/OPS index 17c04a0..2884dce 100644 --- a/OPS +++ b/OPS @@ -171,7 +171,6 @@ OP_TOP_PAGE "move to the top of the page" OP_UNDELETE "undelete the current entry" OP_UNDELETE_THREAD "undelete all messages in thread" OP_UNDELETE_SUBTHREAD "undelete all messages in subthread" -OP_VERSION "show the Mutt version number and date" OP_VIEW_ATTACH "view attachment using mailcap entry if necessary" OP_VIEW_ATTACHMENTS "show MIME attachments" OP_MAIN_SHOW_LIMIT "show currently active limit pattern" diff --git a/commands.c b/commands.c index 710fd7b..239c7ea 100644 --- a/commands.c +++ b/commands.c @@ -699,11 +699,6 @@ int mutt_save_message (HEADER * h, int delete, return -1; } -void mutt_version (void) -{ - mutt_message (mutt_make_version()); -} - void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp) { char buf[LONG_STRING]; diff --git a/functions.def b/functions.def index f95bc49..71df4bb 100644 --- a/functions.def +++ b/functions.def @@ -140,7 +140,6 @@ LIST(OpMain) ITEM("undelete-subthread", OP_UNDELETE_SUBTHREAD, "\033u") ITEM("undelete-thread", OP_UNDELETE_THREAD, "\025") ITEM("view-attachments", OP_VIEW_ATTACHMENTS, "v") - ITEM("show-version", OP_VERSION, "V") ITEM("set-flag", OP_MAIN_SET_FLAG, "w") ITEM("clear-flag", OP_MAIN_CLEAR_FLAG, "W") ITEM("toggle-read", OP_TOGGLE_READ, "X") @@ -224,7 +223,6 @@ LIST(OpPager) ITEM("undelete-subthread", OP_UNDELETE_SUBTHREAD, "\033u") ITEM("undelete-thread", OP_UNDELETE_THREAD, "\025") ITEM("view-attachments", OP_VIEW_ATTACHMENTS, "v") - ITEM("show-version", OP_VERSION, "V") ITEM("search-toggle", OP_SEARCH_TOGGLE, "\\") ITEM("display-address", OP_DISPLAY_ADDRESS, "@") ITEM("next-new", OP_MAIN_NEXT_NEW, NULL) diff --git a/lib-ui/curs_main.c b/lib-ui/curs_main.c index 26bb962..4a8a2be 100644 --- a/lib-ui/curs_main.c +++ b/lib-ui/curs_main.c @@ -1928,10 +1928,6 @@ int mutt_index_menu (void) } break; - case OP_VERSION: - mutt_version (); - break; - case OP_BUFFY_LIST: if (option (OPTFORCEBUFFYCHECK)) buffy_check (1); diff --git a/pager.c b/pager.c index f6ec60e..3bed820 100644 --- a/pager.c +++ b/pager.c @@ -2202,10 +2202,6 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra) } break; - case OP_VERSION: - mutt_version (); - break; - case OP_BUFFY_LIST: if (option (OPTFORCEBUFFYCHECK)) buffy_check (1); diff --git a/protos.h b/protos.h index ce22711..2553cc8 100644 --- a/protos.h +++ b/protos.h @@ -85,7 +85,6 @@ void mutt_shell_escape (void); void mutt_stamp_attachment (BODY * a); void mutt_tag_set_flag (int, int); void mutt_update_encoding (BODY * a); -void mutt_version (void); void mutt_write_references (string_list_t *, FILE *); void mutt_write_address_list (address_t * adr, FILE * fp, int linelen, int display); -- 2.20.1