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/message.c b/src/message.c
index 2ab0a83..a5fb7e5 100644
--- a/src/message.c
+++ b/src/message.c
@@ -2119,8 +2119,8 @@
msg_screen_putchar(' ', attr);
while (msg_col & 7);
}
- else if (*s == BELL) /* beep (from ":sh") */
- vim_beep();
+ else if (*s == BELL) /* beep (from ":sh") */
+ vim_beep(BO_SH);
else
{
#ifdef FEAT_MBYTE
@@ -2363,7 +2363,7 @@
* weird, typing a command without output results in one line. */
mp = msg_sb_start(last_msgchunk);
if (mp == NULL || mp->sb_prev == NULL)
- vim_beep();
+ vim_beep(BO_MESS);
else
{
do_more_prompt('G');