Mercurial > vim
diff src/misc1.c @ 169:0e902b8f511f v7.0051
updated for version 7.0051
author | vimboss |
---|---|
date | Tue, 22 Feb 2005 08:56:13 +0000 |
parents | 8b0ee9d57d7f |
children | 8c60f65311fa |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -3182,6 +3182,14 @@ vim_beep() 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)); + } } }