Lines Matching refs:edit
831 * On return, make the edit file the new temp file.
845 register char *edit;
871 if ((edit = value(c == 'e' ? "EDITOR" : "VISUAL")) == NOSTR ||
872 *edit == '\0')
873 edit = c == 'e' ? EDITOR : VISUAL;
874 edit = safeexpand(edit);
877 * Fork/execlp the editor on the edit file
891 execlp(edit, edit, tempEdit, (char *)0);
893 * If execlp fails, "edit" might really be a complete
897 snprintf(ecmd, sizeof (ecmd), "exec %s %s", edit, tempEdit);
901 perror(edit);