Now deal with EDITOR from lua as well.
[apps/madmutt.git] / attach.c
index 1dbc76e..648d6db 100644 (file)
--- a/attach.c
+++ b/attach.c
@@ -228,7 +228,7 @@ int mutt_edit_attachment (BODY * a)
   }
   else if (a->type == TYPETEXT) {
     /* On text, default to editor */
-    mutt_edit_file (NONULL (Editor), a->filename);
+    mutt_edit_file(a->filename);
   } else {
     rfc1524_entry_delete(&entry);
     mutt_error (_("No mailcap edit entry for %s"), type);