From: Pierre Habouzit Date: Sat, 14 Apr 2007 09:47:41 +0000 (+0200) Subject: remove useless setting (will be scriptable at some point). X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=6667c0de1d217f130bf3a448a9744ed8b2d81f4b;p=apps%2Fmadmutt.git remove useless setting (will be scriptable at some point). Signed-off-by: Pierre Habouzit --- diff --git a/globals.h b/globals.h index 227a9dc..62f84a3 100644 --- a/globals.h +++ b/globals.h @@ -92,7 +92,6 @@ WHERE char *PopHost; WHERE char *PopPass INITVAL (NULL); WHERE char *PopUser INITVAL (NULL); -WHERE char *PostIndentString; WHERE char *Postponed; WHERE char *Prefix; WHERE char *PrintCmd; diff --git a/init.h b/init.h index c53eb49..f47af03 100644 --- a/init.h +++ b/init.h @@ -2002,12 +2002,6 @@ struct option_t MuttVars[] = { ** presents a security risk since the superuser of your machine may read it ** regardless of the file's permissions. */ - {"post_indent_string", DT_STR, R_NONE, UL &PostIndentString, ""}, - /* - ** .pp - ** Similar to the ``$$attribution'' variable, Madmutt will append this - ** string after the inclusion of a message which is being replied to. - */ #ifdef USE_NNTP {"nntp_post_moderated", DT_QUAD, R_NONE, OPT_TOMODERATED, "ask-yes" }, /* diff --git a/protos.h b/protos.h index 57a0446..bbbc684 100644 --- a/protos.h +++ b/protos.h @@ -71,7 +71,6 @@ void mutt_make_help (char *, ssize_t, char *, int, int); char *mutt_compile_help(char *, ssize_t, int, struct mapping_t *); void mutt_make_misc_reply_headers (ENVELOPE * env, CONTEXT * ctx, HEADER * cur, ENVELOPE * curenv); -void mutt_make_post_indent (CONTEXT * ctx, HEADER * cur, FILE * out); void mutt_message_to_7bit (BODY *, FILE *); void mutt_prepare_envelope (ENVELOPE *, int); diff --git a/recvcmd.c b/recvcmd.c index 4ab7a87..71fc95b 100644 --- a/recvcmd.c +++ b/recvcmd.c @@ -794,7 +794,6 @@ static void attach_include_reply (FILE * fp, FILE * tmpfp, HEADER * cur, } _mutt_copy_message (tmpfp, fp, cur, cur->content, cmflags, chflags); - mutt_make_post_indent (Context, cur, tmpfp); } void mutt_attach_reply (FILE * fp, HEADER * hdr, @@ -906,8 +905,6 @@ void mutt_attach_reply (FILE * fp, HEADER * hdr, } } - mutt_make_post_indent (Context, parent, tmpfp); - if (mime_reply_any && !cur && copy_problematic_attachments (fp, &tmphdr->content, idx, idxlen, 0) == NULL) { diff --git a/send.c b/send.c index 91ed81b..f403320 100644 --- a/send.c +++ b/send.c @@ -477,17 +477,6 @@ void mutt_make_attribution (CONTEXT * ctx, HEADER * cur, FILE * out) } } -void mutt_make_post_indent (CONTEXT * ctx, HEADER * cur, FILE * out) -{ - char buffer[STRING]; - - if (PostIndentString) { - mutt_make_string (buffer, sizeof (buffer), PostIndentString, ctx, cur); - fputs (buffer, out); - fputc ('\n', out); - } -} - static int include_reply (CONTEXT * ctx, HEADER * cur, FILE * out) { int cmflags = M_CM_PREFIX | M_CM_DECODE | M_CM_CHARCONV | M_CM_REPLYING; @@ -495,7 +484,6 @@ static int include_reply (CONTEXT * ctx, HEADER * cur, FILE * out) mutt_parse_mime_message (ctx, cur); mutt_message_hook (ctx, cur, M_MESSAGEHOOK); - mutt_make_attribution (ctx, cur, out); if (!option (OPTHEADER)) @@ -506,9 +494,6 @@ static int include_reply (CONTEXT * ctx, HEADER * cur, FILE * out) } mutt_copy_message (out, ctx, cur, cmflags, chflags); - - mutt_make_post_indent (ctx, cur, out); - return 0; }