summaryrefslogtreecommitdiffstats
path: root/curs_main.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-12 19:23:27 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-12 19:23:27 +0000
commit0cfe1e078d7e9f25b91b72d614cb263f5135d8b5 (patch)
treed14984e0a87defc7c37f1984cadce11ab1431239 /curs_main.c
parent6fdac8727a147aeaa85cd6485c5c219d21817699 (diff)
Adding the edit-message feature.
Diffstat (limited to 'curs_main.c')
-rw-r--r--curs_main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/curs_main.c b/curs_main.c
index 2fcad670..ec8652bd 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -1481,6 +1481,15 @@ int mutt_index_menu (int attach_msg /* invoked while attaching a message */)
unset_option (OPTFORCEREDRAWPAGER);
break;
+ case OP_EDIT_MESSAGE:
+
+ CHECK_MSGCOUNT;
+ CHECK_READONLY;
+
+ ci_send_message (SENDEDITMSG, NULL, NULL, Context, CURHDR);
+ menu->redraw = REDRAW_FULL;
+ break;
+
case OP_FORWARD_MESSAGE:
CHECK_MSGCOUNT;