]> diplodocus.org Git - nmh/blobdiff - sbr/geteditor.c
Improve fmttest output
[nmh] / sbr / geteditor.c
index 693d2d7..9ef6f5c 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "h/mh.h"
+#include "geteditor.h"
 #include "context_find.h"
 #include "h/utils.h"
 
@@ -21,7 +22,7 @@ get_default_editor(void)
 
     if (!(str = context_find("editor")) && !(str = getenv("VISUAL")) &&
        !(str = getenv("EDITOR"))) {
-       str = "vi";
+       str = "prompter";
     }
 
     return default_editor = str;