X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcommands.c;h=a057577f782b251341704d71a7284f8ef22dfe83;hb=e629d4d03e7e7ed323807139675c6ec4493ce019;hp=55ac0045469a3656dfdc00534c92eee12eb11ef3;hpb=fe9b27c1bbd810a5e1b39ca3b6a67cbf4a1ffecb;p=citadel.git diff --git a/citadel/commands.c b/citadel/commands.c index 55ac00454..a057577f7 100644 --- a/citadel/commands.c +++ b/citadel/commands.c @@ -747,6 +747,7 @@ void load_command_set(void) rc_force_mail_prompts = 0; rc_ansi_color = 0; rc_color_use_bg = 0; + rc_reply_extedit = 0; strcpy(rc_url_cmd, ""); strcpy(rc_gotmail_cmd, ""); #ifdef HAVE_OPENSSL @@ -893,6 +894,14 @@ void load_command_set(void) rc_alt_semantics = 0; } } + if (!strncasecmp(buf, "reply_with_external_editor=", 27)) { + if (!strncasecmp(&buf[27], "yes", 3)) { + rc_reply_extedit = 1; + } + else { + rc_reply_extedit = 0; + } + } if (!strncasecmp(buf, "cmd=", 4)) { strcpy(buf, &buf[4]);