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/message.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/message.c')
-rw-r--r-- | src/message.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.c b/src/message.c index 2ab0a831d..a5fb7e50d 100644 --- a/src/message.c +++ b/src/message.c @@ -2119,8 +2119,8 @@ msg_puts_display(str, maxlen, attr, recurse) 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 @@ show_sb_text() * 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'); |