OP_VERSION is useless.
authorPierre Habouzit <madcoder@debian.org>
Sun, 18 Nov 2007 11:25:19 +0000 (12:25 +0100)
committerPierre Habouzit <madcoder@debian.org>
Sun, 18 Nov 2007 11:27:00 +0000 (12:27 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
OPS
commands.c
functions.def
lib-ui/curs_main.c
pager.c
protos.h

diff --git a/OPS b/OPS
index 17c04a0..2884dce 100644 (file)
--- 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"
index 710fd7b..239c7ea 100644 (file)
@@ -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];
index f95bc49..71df4bb 100644 (file)
@@ -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)
index 26bb962..4a8a2be 100644 (file)
@@ -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 (file)
--- 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);
index ce22711..2553cc8 100644 (file)
--- 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);