patch 9.0.1064: code for making 'shortmess' temporarily empty is repeated
Problem: Code for making 'shortmess' temporarily empty is repeated.
Solution: Add functions for making 'shortmess' empty and restoring it.
(Christian Brabandt, closes #11709)
diff --git a/src/errors.h b/src/errors.h
index 6299ccd..23071e1 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3389,3 +3389,5 @@
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"));