-
-/*
- * geteditor.c -- Determine the default editor to use
+/* geteditor.c -- Determine the default editor to use
*
* This code is Copyright (c) 2013, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
if (!(str = context_find("editor")) && !(str = getenv("VISUAL")) &&
!(str = getenv("EDITOR"))) {
- str = DEFAULT_EDITOR;
+ str = "vi";
}
return (default_editor = str);