commit | 165bc69d1b7f70ca9d5b657f35d0584ecb7b5183 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jul 21 17:53:25 2015 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jul 21 17:53:25 2015 +0200 |
tree | c22d03e0ebc155a50b20749f8bedd84867a20a13 | |
parent | 6561d52ecbe6e24d1b90403078cc8b76c53c42fc [diff] [blame] |
patch 7.4.793 Problem: Can't specify when not to ring the bell. Solution: Add the 'belloff' option. (Christian Brabandt)
diff --git a/src/search.c b/src/search.c index c9614ea..4905a49 100644 --- a/src/search.c +++ b/src/search.c
@@ -2469,7 +2469,7 @@ } 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)