diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-23 10:35:41 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-23 10:35:41 +0000 |
commit | efe8e2dc68640724d33f452b5cc98a0887baa8b4 (patch) | |
tree | 17c7efbd1bff548851afa9392cf027fa35497827 /compose.c | |
parent | 2eabb25219b5648b2e2da27492ef79fb833dfc81 (diff) |
Disable recursive invocations of the attach-message function.
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -650,7 +650,10 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */ this = Context; /* remember current folder */ Context = ctx; - close = mutt_index_menu (1); + set_option(OPTATTACHMSG); + close = mutt_index_menu (); + unset_option(OPTATTACHMSG); + if (!Context) { /* go back to the folder we started from */ |