summaryrefslogtreecommitdiffstats
path: root/curs_main.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-16 05:57:22 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-16 05:57:22 +0000
commit8f97174d35873e1217ae7f2f12fd918a2bfbb6fc (patch)
treefcee31313e5a3adcf43e9dd5f28d4dfe8a0395a6 /curs_main.c
parent9d0aea5fe2e4b6df4abd9966f834ac7006545762 (diff)
Introduce the OPTUSEHEADERDATE pseudo-option to control
mutt_write_rfc822_header()'s behaviour for the purposes of the edit_message feature.
Diffstat (limited to 'curs_main.c')
-rw-r--r--curs_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/curs_main.c b/curs_main.c
index ec8652bd..1179f4b8 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -1485,8 +1485,10 @@ int mutt_index_menu (int attach_msg /* invoked while attaching a message */)
CHECK_MSGCOUNT;
CHECK_READONLY;
-
+
+ set_option(OPTUSEHEADERDATE);
ci_send_message (SENDEDITMSG, NULL, NULL, Context, CURHDR);
+ unset_option(OPTUSEHEADERDATE);
menu->redraw = REDRAW_FULL;
break;