summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorlum <lum@cvs.openbsd.org>2012-09-25 19:16:53 +0000
committerlum <lum@cvs.openbsd.org>2012-09-25 19:16:53 +0000
commit388fb791962dbb1338cfc7cb623674f4c24a4c3d (patch)
treef62be3957956a1f2d5e61ec48fc6b624ffcd3eba /usr.bin
parentf23484c64abe3693df6b3a1a69841bb014ca7f25 (diff)
Stop the space char completing a file name. This mimics more recent
versions of emacs. kjell and jasper@ agree.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mg/echo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c
index ce173f63128..beff2f1420b 100644
--- a/usr.bin/mg/echo.c
+++ b/usr.bin/mg/echo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: echo.c,v 1.50 2012/04/12 04:47:59 lum Exp $ */
+/* $OpenBSD: echo.c,v 1.51 2012/09/25 19:16:52 lum Exp $ */
/* This file is in the public domain. */
@@ -184,7 +184,7 @@ veread(const char *fp, char *buf, size_t nbuf, int flag, va_list ap)
ttflush();
for (;;) {
c = getkey(FALSE);
- if ((flag & EFAUTO) != 0 && (c == ' ' || c == CCHR('I'))) {
+ if ((flag & EFAUTO) != 0 && c == CCHR('I')) {
if (cplflag == TRUE) {
complt_list(flag, buf, cpos);
cwin = TRUE;