summaryrefslogtreecommitdiff
path: root/src/spell.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/spell.c
parent6561d52ecbe6e24d1b90403078cc8b76c53c42fc (diff)
downloadvim-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/spell.c')
-rw-r--r--src/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index 80a7d18fe..5d9c0cceb 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -10201,7 +10201,7 @@ spell_suggest(count)
* 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;