Lines Matching refs:editor
252 const char *editor = NULL; in histcmd() local
277 editor = shoptarg; in histcmd()
300 if (lflg == 0 || editor || sflg) { in histcmd()
324 if (editor == NULL && in histcmd()
325 (editor = bltinlookup("FCEDIT", 1)) == NULL && in histcmd()
326 (editor = bltinlookup("EDITOR", 1)) == NULL) in histcmd()
327 editor = DEFEDITOR; in histcmd()
328 if (editor[0] == '-' && editor[1] == '\0') { in histcmd()
330 editor = NULL; in histcmd()
379 if (editor) { in histcmd()
442 if (editor) { in histcmd()
447 editcmd = stalloc(strlen(editor) + strlen(editfile) + 2); in histcmd()
448 sprintf(editcmd, "%s %s", editor, editfile); in histcmd()