# HG changeset patch # User Bram Moolenaar # Date 1665522005 -7200 # Node ID 02b5d6f20db275baa6a5f57fc090c6ab841ebcff # Parent 7e752660614b3a588b2ba6e8a9d29505b3378882 patch 9.0.0727: help in the repository differs from patched version too much Commit: https://github.com/vim/vim/commit/7c6cd443757348aa987eed87506549ab6b2079fe Author: Bram Moolenaar Date: Tue Oct 11 21:54:04 2022 +0100 patch 9.0.0727: help in the repository differs from patched version too much Problem: Help in the repository differs from patched version too much. Solution: Make a patch for a few help files. diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1,4 +1,4 @@ -*builtin.txt* For Vim version 9.0. Last change: 2022 Sep 30 +*builtin.txt* For Vim version 9.0. Last change: 2022 Oct 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1882,10 +1882,10 @@ cursor({list}) |setcursorcharpos()|. Does not change the jumplist. - {lnum} is used like with |getline()|. + {lnum} is used like with |getline()|, except that if {lnum} is + zero, the cursor will stay in the current line. If {lnum} is greater than the number of lines in the buffer, the cursor will be positioned at the last line in the buffer. - If {lnum} is zero, the cursor will stay in the current line. If {col} is greater than the number of bytes in the line, the cursor will be positioned at the last character in the line. diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 9.0. Last change: 2022 Sep 17 +*eval.txt* For Vim version 9.0. Last change: 2022 Oct 07 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt --- a/runtime/doc/vim9.txt +++ b/runtime/doc/vim9.txt @@ -1,4 +1,4 @@ -*vim9.txt* For Vim version 9.0. Last change: 2022 Oct 03 +*vim9.txt* For Vim version 9.0. Last change: 2022 Oct 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -962,6 +962,8 @@ In compiled Vim9 script you get: 3 Generally, you should not change the list that is iterated over. Make a copy first if needed. +When looping over a list of lists, the nested lists can be changed. The loop +variable is "final", it cannot be changed but what its value can be changed. *E1306* The depth of loops, :for and :while loops added together, cannot exceed 10. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 727, +/**/ 726, /**/ 725,