summaryrefslogtreecommitdiff
path: root/mh/repl.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-10-22 14:29:20 +0300
committerSergey Poznyakoff <gray@gnu.org>2016-10-22 14:29:20 +0300
commitd153077cd608fc034e61e046c59ff46159223b31 (patch)
treeb274e3164f30dd895920e34ccc34b8b2c27028bf /mh/repl.c
parente267ac86e2c3a78979fe12bdd16392f30f8d1725 (diff)
downloadmailutils-d153077cd608fc034e61e046c59ff46159223b31.tar.gz
mailutils-d153077cd608fc034e61e046c59ff46159223b31.tar.bz2
MH: Fix MH-E compatibility
* include/mailutils/cli.h (mu_version_func): Rename to mu_version_hook. * libmailutils/cli/cli.c: Likewise. * pop3d/popauth.c: Likewise. * mh/mh_getopt.c: (mh_getopt): Initialize NLS support. Install standard version hook (needed for mh-e autodetect feature). * mh/ali.c: Update prog_doc. Remove NLS initialization. * mh/anno.c: Likewise * mh/burst.c: Likewise * mh/comp.c: Likewise * mh/fmtcheck.c: Likewise * mh/folder.c: Likewise * mh/forw.c: Likewise * mh/inc.c: Likewise * mh/install-mh.c: Likewise * mh/mark.c: Likewise * mh/mhl.c: Likewise * mh/mhn.c: Likewise * mh/mhparam.c: Likewise * mh/mhpath.c: Likewise * mh/mhseq.c: Likewise * mh/msgchk.c: Likewise * mh/pick.c: Likewise * mh/prompter.c: Likewise * mh/refile.c: Likewise * mh/repl.c: Likewise * mh/rmf.c: Likewise * mh/rmm.c: Likewise * mh/scan.c: Likewise * mh/send.c: Likewise * mh/show.c: Likewise * mh/sortm.c: Likewise * mh/whatnow.c: Likewise * mh/whom.c: Likewise
Diffstat (limited to 'mh/repl.c')
-rw-r--r--mh/repl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mh/repl.c b/mh/repl.c
index 826ecafdf..d546d2c5b 100644
--- a/mh/repl.c
+++ b/mh/repl.c
@@ -22,7 +22,7 @@
#include <sys/stat.h>
#include <unistd.h>
-static char prog_doc[] = N_("GNU MH repl");
+static char prog_doc[] = N_("Reply to a message");
static char args_doc[] = N_("[+FOLDER] [MESSAGE]");
static char *format_str = NULL;
@@ -307,9 +307,6 @@ main (int argc, char **argv)
{
int rc;
- /* Native Language Support */
- MU_APP_INIT_NLS ();
-
draftfolder = mh_global_profile_get ("Draft-Folder", NULL);
whatnowproc = mh_global_profile_get ("whatnowproc", NULL);

Return to:

Send suggestions and report system problems to the System administrator.