Mercurial > vim
comparison src/globals.h @ 13272:abaebba89fd4 v8.0.1510
patch 8.0.1510: cannot test if a command causes a beep
commit https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 13 12:26:14 2018 +0100
patch 8.0.1510: cannot test if a command causes a beep
Problem: Cannot test if a command causes a beep.
Solution: Add assert_beeps().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 13 Feb 2018 12:30:07 +0100 |
parents | 5ed6e4a25925 |
children | a69636c63103 |
comparison
equal
deleted
inserted
replaced
13271:c716b01fb96d | 13272:abaebba89fd4 |
---|---|
179 EXTERN dict_T globvardict; /* Dictionary with g: variables */ | 179 EXTERN dict_T globvardict; /* Dictionary with g: variables */ |
180 #endif | 180 #endif |
181 EXTERN int did_emsg; /* set by emsg() when the message | 181 EXTERN int did_emsg; /* set by emsg() when the message |
182 is displayed or thrown */ | 182 is displayed or thrown */ |
183 #ifdef FEAT_EVAL | 183 #ifdef FEAT_EVAL |
184 EXTERN int called_vim_beep; /* set if vim_beep() is called */ | |
184 EXTERN int did_uncaught_emsg; /* emsg() was called and did not | 185 EXTERN int did_uncaught_emsg; /* emsg() was called and did not |
185 cause an exception */ | 186 cause an exception */ |
186 #endif | 187 #endif |
187 EXTERN int did_emsg_syntax; /* did_emsg set because of a | 188 EXTERN int did_emsg_syntax; /* did_emsg set because of a |
188 syntax error */ | 189 syntax error */ |