summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-02-13 12:26:14 +0100
committerBram Moolenaar <Bram@vim.org>2018-02-13 12:26:14 +0100
commitb48e96f61c87a64e38e3ac50732c92a84a4833b8 (patch)
tree170cf91f5865fda3f985328c50b5d009e5296a3b /src/globals.h
parent294959528e02403cd7ef6541208835f0c621c63b (diff)
patch 8.0.1510: cannot test if a command causes a beepv8.0.1510
Problem: Cannot test if a command causes a beep. Solution: Add assert_beeps().
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 1b2b1e8bf1..2504d2ec4b 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -181,6 +181,7 @@ EXTERN dict_T globvardict; /* Dictionary with g: variables */
EXTERN int did_emsg; /* set by emsg() when the message
is displayed or thrown */
#ifdef FEAT_EVAL
+EXTERN int called_vim_beep; /* set if vim_beep() is called */
EXTERN int did_uncaught_emsg; /* emsg() was called and did not
cause an exception */
#endif