diff options
author | mdodd <mdodd@FreeBSD.org> | 1999-08-19 04:10:33 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 1999-08-19 04:10:33 +0000 |
commit | 1e31ba6301ad93949e21adbc5425c84e8406bbb2 (patch) | |
tree | 73f0267426526b3492a2039915ff582a1c2dbd18 /usr.sbin/lpr/lpc | |
parent | 2f02ff5d8abc65ba407e232ef5690d4b3ab2890f (diff) | |
download | FreeBSD-src-1e31ba6301ad93949e21adbc5425c84e8406bbb2.zip FreeBSD-src-1e31ba6301ad93949e21adbc5425c84e8406bbb2.tar.gz |
Use el_source() so we pick up .editrc
Diffstat (limited to 'usr.sbin/lpr/lpc')
-rw-r--r-- | usr.sbin/lpr/lpc/lpc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <sys/param.h> @@ -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; |