summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-13 14:00:45 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-13 14:00:45 +0100
commit4997f2a605e15261c4f825494324371f271ef6a8 (patch)
treecb74cc4914c7bf84073a5d48c5de2c87b1733ad3 /src/globals.h
parent17822c507c03d509037c9ee5eee5cfbb201b3f01 (diff)
patch 9.0.0740: prop_add_list() gives multiple errors for invalid argumentv9.0.0740
Problem: prop_add_list() gives multiple errors for invalid argument. Solution: Only give one error message.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h
index 0228825d5b..9d70da6ca8 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -219,8 +219,8 @@ EXTERN char_u *emsg_assert_fails_context INIT(= NULL);
EXTERN int did_endif INIT(= FALSE); // just had ":endif"
#endif
-EXTERN int did_emsg; // set by emsg() when the message
- // is displayed or thrown
+EXTERN int did_emsg; // incremented by emsg() when a
+ // message is displayed or thrown
#ifdef FEAT_EVAL
EXTERN int did_emsg_silent INIT(= 0); // incremented by emsg() when
// emsg_silent was set and did_emsg