summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2022-12-16 16:41:23 +0000
committerBram Moolenaar <Bram@vim.org>2022-12-16 16:41:23 +0000
commit9aee8ec400fe617f6d82441c46a22d0cef6fa3e6 (patch)
treed8ef22c2177d59f1196dc7d82c540612eff3813c /src/errors.h
parent4ab1f4a32f7e0fcafa8f542429f1f6c47dcd5d2c (diff)
patch 9.0.1064: code for making 'shortmess' temporarily empty is repeatedv9.0.1064
Problem: Code for making 'shortmess' temporarily empty is repeated. Solution: Add functions for making 'shortmess' empty and restoring it. (Christian Brabandt, closes #11709)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 6299ccd564..23071e10a6 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3389,3 +3389,5 @@ EXTERN char e_object_member_not_found_str[]
EXTERN char e_object_member_is_not_writable_str[]
INIT(= N_("E1335: Object member is not writable: %s"));
#endif
+EXTERN char e_internal_error_shortmess_too_long[]
+ INIT(= N_("E1336: Internal error: shortmess too long"));