summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-07-24 20:08:01 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-24 20:08:01 +0100
commitc963ec31a0c293d629e40cb082d4bfb1651def49 (patch)
treef93897f6bfe81dd5692f5f06b23fedb1881368c9 /src/errors.h
parentd61efa50f8f5b9d9dcbc136705cc33874f0fdcb3 (diff)
patch 9.0.0064: confusing error when using "q:" in command line windowv9.0.0064
Problem: Confusing error when using "q:" in command line window. Solution: Check for the situation and give a better error message. (closes #10756)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 90aa2921a6..965187f785 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3306,3 +3306,7 @@ EXTERN char e_substitute_nesting_too_deep[]
EXTERN char e_invalid_argument_nr[]
INIT(= N_("E1291: Invalid argument: %ld"));
#endif
+#ifdef FEAT_CMDWIN
+EXTERN char e_cmdline_window_already_open[]
+ INIT(= N_("E1292: Command-line window is already open"));
+#endif