summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-09-02 11:17:34 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-09-02 11:17:34 +0000
commitbeafe1ed70094cea3491e477f76b913a3be037de (patch)
tree41ffd3f06c0234f7f8a48e80d73d204bbcc6de20 /compose.c
parentb65cbe0580878ddb8872c5681bde3546865b6a52 (diff)
A new edit-message feature, giving the raw message in an editor.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/compose.c b/compose.c
index 0c88b993..df006cd6 100644
--- a/compose.c
+++ b/compose.c
@@ -1181,20 +1181,16 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
if (mutt_enter_fname (_("Write message to mailbox"), fname, sizeof (fname),
&menu->redraw, 1) != -1 && fname[0])
{
- int oldhdrdate;
mutt_message (_("Writing message to %s ..."), fname);
mutt_expand_path (fname, sizeof (fname));
if (msg->content->next)
msg->content = mutt_make_multipart (msg->content);
- oldhdrdate = option(OPTUSEHEADERDATE);
- set_option(OPTUSEHEADERDATE);
if (mutt_write_fcc (NONULL (fname), msg, NULL, 1, NULL) < 0)
msg->content = mutt_remove_multipart (msg->content);
else
mutt_message _("Message written.");
- if(!oldhdrdate) unset_option(OPTUSEHEADERDATE);
}
break;