updated for version 7.3.141
Problem: When a key code is not set get a confusing error message.
Solution: Change the error message to say the key code is not set.
diff --git a/src/option.c b/src/option.c
index f1fcd69..b633466 100644
--- a/src/option.c
+++ b/src/option.c
@@ -4352,7 +4352,7 @@
p = find_termcode(key_name);
if (p == NULL)
{
- errmsg = (char_u *)N_("E518: Unknown option");
+ errmsg = (char_u *)N_("E846: Key code not set");
goto skip;
}
else
@@ -4700,8 +4700,8 @@
|| s[i] == ','
|| s[i] == NUL))
break;
- /* Count backspaces. Only a comma with an
- * even number of backspaces before it is
+ /* Count backslashes. Only a comma with an
+ * even number of backslashes before it is
* recognized as a separator */
if (s > origval && s[-1] == '\\')
++bs;
diff --git a/src/version.c b/src/version.c
index d24bf7d..3505097 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 141,
+/**/
140,
/**/
139,