Call el_source() to read the contents of .editrc when line editing is enabled.

Obtained from:	NetBSD
MFC after:	2 weeks
This commit is contained in:
tjr 2002-07-23 12:26:34 +00:00
parent f8393bf15c
commit f4200417b1

View File

@ -132,6 +132,7 @@ histedit(void)
el_set(el, EL_EDITOR, "vi");
else if (Eflag)
el_set(el, EL_EDITOR, "emacs");
el_source(el, NULL);
}
} else {
INTOFF;