* Replaced the DEFAULT_ENTRY definition in sysconfig.h with a new option
[citadel.git] / citadel / commands.c
index 55ac0045469a3656dfdc00534c92eee12eb11ef3..a057577f782b251341704d71a7284f8ef22dfe83 100644 (file)
@@ -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]);