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/cdcontrol | |
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/cdcontrol')
-rw-r--r-- | usr.sbin/cdcontrol/cdcontrol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/cdcontrol/cdcontrol.c b/usr.sbin/cdcontrol/cdcontrol.c index 6f9d786..539cf52 100644 --- a/usr.sbin/cdcontrol/cdcontrol.c +++ b/usr.sbin/cdcontrol/cdcontrol.c @@ -20,7 +20,7 @@ #ifndef lint static const char rcsid[] = - "$Id: cdcontrol.c,v 1.18 1999/01/31 15:30:21 billf Exp $"; + "$Id: cdcontrol.c,v 1.19 1999/08/19 03:29:11 mdodd Exp $"; #endif /* not lint */ #include <ctype.h> @@ -950,6 +950,7 @@ input (int *cmd) el_set(el, EL_EDITOR, "emacs"); el_set(el, EL_PROMPT, cdcontrol_prompt); el_set(el, EL_SIGNAL, 1); + el_source(el, NULL); } if ((bp = el_gets(el, &num)) == NULL || num == 0) return (0); |