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/spell.c b/src/spell.c index 80a7d18..5d9c0cc 100644 --- a/src/spell.c +++ b/src/spell.c
@@ -10201,7 +10201,7 @@ * a multi-line selection. */ if (curwin->w_cursor.lnum != VIsual.lnum) { - vim_beep(); + vim_beep(BO_SPELL); return; } badlen = (int)curwin->w_cursor.col - (int)VIsual.col;