diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-07-21 17:53:25 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-07-21 17:53:25 +0200 |
commit | 165bc69d1b7f70ca9d5b657f35d0584ecb7b5183 (patch) | |
tree | c22d03e0ebc155a50b20749f8bedd84867a20a13 /src/search.c | |
parent | 6561d52ecbe6e24d1b90403078cc8b76c53c42fc (diff) | |
download | vim-git-165bc69d1b7f70ca9d5b657f35d0584ecb7b5183.tar.gz |
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/search.c')
-rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index c9614ea52..4905a49d7 100644 --- a/src/search.c +++ b/src/search.c @@ -2469,7 +2469,7 @@ showmatch(c) } if ((lpos = findmatch(NULL, NUL)) == NULL) /* no match, so beep */ - vim_beep(); + vim_beep(BO_MATCH); else if (lpos->lnum >= curwin->w_topline && lpos->lnum < curwin->w_botline) { if (!curwin->w_p_wrap) |