summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-03-24 16:31:17 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-03-24 16:31:17 +0000
commit4c11033e69bf2145ca41604d947a8ab6e76fe471 (patch)
treeb3bc3a91af9da4f08b7eaab09593b0ded901da3c /main.c
parentccb80159e042f1534bf05123c4ac856f2f53ac3a (diff)
Only exit with "no recipients specified", when $auto_edit is set.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index d5d37185..024f57e3 100644
--- a/main.c
+++ b/main.c
@@ -538,7 +538,7 @@ int main (int argc, char **argv)
for (i = optind; i < argc; i++)
msg->env->to = rfc822_parse_adrlist (msg->env->to, argv[i]);
- if (!msg->env->to && !msg->env->cc)
+ if (option (OPTAUTOEDIT) && !msg->env->to && !msg->env->cc)
{
if (!option (OPTNOCURSES))
mutt_endwin (NULL);