summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-07-21 17:53:25 +0200
committerBram Moolenaar <Bram@vim.org>2015-07-21 17:53:25 +0200
commit165bc69d1b7f70ca9d5b657f35d0584ecb7b5183 (patch)
treec22d03e0ebc155a50b20749f8bedd84867a20a13 /src/ex_getln.c
parent6561d52ecbe6e24d1b90403078cc8b76c53c42fc (diff)
patch 7.4.793v7.4.793
Problem: Can't specify when not to ring the bell. Solution: Add the 'belloff' option. (Christian Brabandt)
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 610ac862e6..d7700c8c87 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -900,7 +900,7 @@ getcmdline(firstc, count, indent)
firstc != '@');
}
else
- vim_beep();
+ vim_beep(BO_WILD);
}
#ifdef FEAT_WILDMENU
else if (xpc.xp_numfiles == -1)
@@ -3710,7 +3710,7 @@ ExpandOne(xp, str, orig, options, mode)
if (i < xp->xp_numfiles)
{
if (!(options & WILD_NO_BEEP))
- vim_beep();
+ vim_beep(BO_WILD);
break;
}
}