commit | 5313dcb75ac76501f23d21ac94efdbeeabc860bc | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Feb 22 08:56:13 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 22 08:56:13 2005 +0000 |
tree | b6c5ac114addb67fdee375a0c1baf75e609d4dff | |
parent | 26a60b45245080771bc2452b2634cb1f5acd60ed [diff] [blame] |
updated for version 7.0051
diff --git a/src/misc1.c b/src/misc1.c index 658c30e..8ddc6f0 100644 --- a/src/misc1.c +++ b/src/misc1.c
@@ -3182,6 +3182,14 @@ out_char(BELL); #endif } + + /* When 'verbose' is set and we are sourcing a script or executing a + * function give the user a hint where the beep comes from. */ + if (vim_strchr(p_debug, 'e') != NULL) + { + msg_source(hl_attr(HLF_W)); + msg_attr((char_u *)_("Beep!"), hl_attr(HLF_W)); + } } }