From 1e31ba6301ad93949e21adbc5425c84e8406bbb2 Mon Sep 17 00:00:00 2001 From: mdodd Date: Thu, 19 Aug 1999 04:10:33 +0000 Subject: Use el_source() so we pick up .editrc --- usr.sbin/lpr/lpc/lpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/lpr/lpc') diff --git a/usr.sbin/lpr/lpc/lpc.c b/usr.sbin/lpr/lpc/lpc.c index 5684c46..b8ee565 100644 --- a/usr.sbin/lpr/lpc/lpc.c +++ b/usr.sbin/lpr/lpc/lpc.c @@ -43,7 +43,7 @@ static const char copyright[] = static char sccsid[] = "@(#)lpc.c 8.3 (Berkeley) 4/28/95"; #endif static const char rcsid[] = - "$Id: lpc.c,v 1.8 1998/09/11 18:49:31 wollman Exp $"; + "$Id: lpc.c,v 1.9 1999/08/19 03:29:13 mdodd Exp $"; #endif /* not lint */ #include @@ -165,6 +165,7 @@ cmdscanner() el_set(el, EL_EDITOR, "emacs"); el_set(el, EL_PROMPT, lpc_prompt); el_set(el, EL_SIGNAL, 1); + el_source(el, NULL); } if ((bp = el_gets(el, &num)) == NULL || num == 0) return; -- cgit v1.1