runtime(doc): fix help tags for removed/reused error codes
Commit:
https://github.com/vim/vim/commit/d0af3bcee1d91514a33fbaf19ccc2aa2ab73ba40
Author: Hirohito Higashi <[email protected]>
Date: Thu May 21 19:03:50 2026 +0000
runtime(doc): fix help tags for removed/reused error codes
Problem: Several error codes (E614, E1319, E1321, E1323, E1400, E1401,
E1402, E1406) were removed from errors.h in v9.1.0600 but
their *Ennn* tags remained in the help files, so :help Ennn
jumps to obsolete locations. E1395 was later reused with a
new meaning ("Using a null class") in v9.1.1119, but its tag
is still placed in the type-alias section.
Solution: Remove the stale *Ennn* tags from the help files. Move
*E1395* to the vim9.txt null-values section to match its
current meaning. Also fix the indentation of *E1411*.
Regenerate runtime/doc/tags.
closes: #20279
Signed-off-by: Hirohito Higashi <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index e9036c18f..0268d158e 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -1,4 +1,4 @@
-*builtin.txt* For Vim version 9.2. Last change: 2026 May 04
+*builtin.txt* For Vim version 9.2. Last change: 2026 May 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -6259,7 +6259,7 @@ insert({object}, {item} [, {idx}])
*insert()*
Return type: |Number|
-instanceof({object}, {class}) *instanceof()* *E614* *E616*
*E693*
+instanceof({object}, {class}) *instanceof()* *E616* *E693*
The result is a Number, which is |TRUE| when the {object}
argument is a direct or indirect instance of a |Class|,
|Interface|, or class |:type| alias specified by {class}.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 2bcad93a3..a451c9f2f 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 9.2. Last change: 2026 May 15
+*eval.txt* For Vim version 9.2. Last change: 2026 May 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -170,8 +170,8 @@ Note that " " and "0" are also non-empty strings, thus
considered to be TRUE.
A List, Dictionary or Float is not a Number or String, thus evaluate to FALSE.
*E611* *E745* *E728* *E703* *E729* *E730* *E731* *E908* *E910*
- *E913* *E974* *E975* *E976* *E1319* *E1320* *E1321* *E1322*
- *E1323* *E1324* *E1520* *E1522*
+ *E913* *E974* *E975* *E976* *E1320* *E1322* *E1324* *E1520*
+ *E1522*
|List|, |Tuple|, |Dictionary|, |Funcref|, |Job|, |Channel|, |Blob|, |Class|
and |object| types are not automatically converted.
diff --git a/runtime/doc/tags b/runtime/doc/tags
index eb7e21929..6cac191f3 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -4562,12 +4562,9 @@ E1315 vim9class.txt /*E1315*
E1316 vim9class.txt /*E1316*
E1317 vim9class.txt /*E1317*
E1318 vim9class.txt /*E1318*
-E1319 eval.txt /*E1319*
E132 userfunc.txt /*E132*
E1320 eval.txt /*E1320*
-E1321 eval.txt /*E1321*
E1322 eval.txt /*E1322*
-E1323 eval.txt /*E1323*
E1324 eval.txt /*E1324*
E1325 vim9class.txt /*E1325*
E1326 vim9class.txt /*E1326*
@@ -4644,19 +4641,15 @@ E1391 eval.txt /*E1391*
E1392 eval.txt /*E1392*
E1393 vim9class.txt /*E1393*
E1394 vim9class.txt /*E1394*
-E1395 vim9class.txt /*E1395*
+E1395 vim9.txt /*E1395*
E1396 vim9class.txt /*E1396*
E1397 vim9class.txt /*E1397*
E1398 vim9class.txt /*E1398*
E1399 vim9class.txt /*E1399*
E140 message.txt /*E140*
-E1400 vim9class.txt /*E1400*
-E1401 vim9class.txt /*E1401*
-E1402 vim9class.txt /*E1402*
E1403 vim9class.txt /*E1403*
E1404 vim9class.txt /*E1404*
E1405 vim9class.txt /*E1405*
-E1406 vim9class.txt /*E1406*
E1407 vim9class.txt /*E1407*
E1408 vim9class.txt /*E1408*
E1409 vim9class.txt /*E1409*
@@ -5273,7 +5266,6 @@ E610 editing.txt /*E610*
E611 eval.txt /*E611*
E612 sign.txt /*E612*
E613 print.txt /*E613*
-E614 builtin.txt /*E614*
E616 builtin.txt /*E616*
E617 options.txt /*E617*
E618 print.txt /*E618*
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index 5d6b71b5c..84502f19c 100644
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -1,4 +1,4 @@
-*vim9.txt* For Vim version 9.2. Last change: 2026 May 04
+*vim9.txt* For Vim version 9.2. Last change: 2026 May 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1117,7 +1117,7 @@ should be used.
*false* *true* *null* *null_blob* *null_channel*
*null_class* *null_dict* *null_function* *null_job*
*null_list* *null_object* *null_partial* *null_string*
- *E1034*
+ *E1034* *E1395*
In Vim9 script one can use the following predefined values: >
true
false
diff --git a/runtime/doc/vim9class.txt b/runtime/doc/vim9class.txt
index 6f936a01c..7c92c455c 100644
--- a/runtime/doc/vim9class.txt
+++ b/runtime/doc/vim9class.txt
@@ -1,4 +1,4 @@
-*vim9class.txt* For Vim version 9.2. Last change: 2026 Mar 07
+*vim9class.txt* For Vim version 9.2. Last change: 2026 May 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -110,14 +110,14 @@ referred to with the "this." prefix. This is different
from languages like
Java and TypeScript. The naming convention makes the object members easy to
spot. Also, when a variable does not have the "this." prefix you know it is
not an object variable.
- *E1411*
+ *E1411*
From outside the class definition, access an object's methods and variables by
using the object name followed by a dot following by the member: >
pos.lnum
pos.SetCol(10)
<
- *E1405* *E1406*
+ *E1405*
A class name cannot be used as an expression. A class name cannot be used in
the left-hand-side of an assignment.
@@ -921,7 +921,7 @@ methods defined in a class: >
7. Type definition *typealias* *Vim9-type* *:type*
- *E1393* *E1395* *E1396* *E1397* *E1398*
+ *E1393* *E1396* *E1397* *E1398*
A type definition is giving a name to a type specification. This is also
known as a "type alias". The type alias can be used wherever a built-in type
can be used. Example: >
@@ -942,7 +942,7 @@ types can be aliased.
A type alias can be created only at the script level and not inside a
function. A type alias can be exported and used across scripts.
- *E1400* *E1401* *E1402* *E1403* *E1407*
+ *E1403* *E1407*
A type alias cannot be used as an expression. A type alias cannot be used in
the left-hand-side of an assignment.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1wQ8rI-00Gsuz-3R%40256bit.org.