diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-09-02 11:17:34 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-09-02 11:17:34 +0000 |
commit | beafe1ed70094cea3491e477f76b913a3be037de (patch) | |
tree | 41ffd3f06c0234f7f8a48e80d73d204bbcc6de20 /compose.c | |
parent | b65cbe0580878ddb8872c5681bde3546865b6a52 (diff) |
A new edit-message feature, giving the raw message in an editor.
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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; |