]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): fix help tags for removed/reused error codes
authorHirohito Higashi <h.east.727@gmail.com>
Thu, 21 May 2026 19:03:50 +0000 (19:03 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 21 May 2026 19:08:10 +0000 (19:08 +0000)
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 <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt
runtime/doc/eval.txt
runtime/doc/tags
runtime/doc/vim9.txt
runtime/doc/vim9class.txt

index e9036c18f10617996ab7c94903672c9921c316d6..0268d158e752fa3f3df1c5f19dccde57752ab45b 100644 (file)
@@ -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}.
index 2bcad93a39175d93eac3377c7ba5870fbd85a44b..a451c9f2fe60ffda6affdcb503c7d3fed379a0fc 100644 (file)
@@ -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.
 
index eb7e219293188cb9d7c6750761ff36bf26bb6c0b..6cac191f33de2a294ee0e14e9a741ee2cedb82d7 100644 (file)
@@ -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*
index 5d6b71b5c2f5c993237a08f822f2a4bbc2d6fe61..84502f19cf47ef5f51a47284e6fc1d7a881bee15 100644 (file)
@@ -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
index 6f936a01c07ae0ee5e2298f95eb5cc679e883095..7c92c455caf55235444b35a21e214e4ba61a3c80 100644 (file)
@@ -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.