diff runtime/doc/various.txt @ 29285:729a7c00fabc

Update runtime files Commit: https://github.com/vim/vim/commit/e1dc76fbf333243ecfdfc3c0a81ea9984913b4f5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 25 18:01:32 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 25 Jun 2022 19:15:06 +0200
parents 3e6e6b4e74eb
children dc4de65a7fb7
line wrap: on
line diff
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt*   For Vim version 8.2.  Last change: 2022 May 21
+*various.txt*   For Vim version 8.2.  Last change: 2022 Jun 25
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -558,7 +558,10 @@ N  *+X11*		Unix only: can restore window
 			initialized to an empty string.  After the redirection
 			starts, if the variable is removed or locked or the
 			variable type is changed, then further command output
-			messages will cause errors.
+			messages will cause errors.  When using a local
+			variable (l:var in a function or s:var in a script)
+			and another `:redir` causes the current one to end,
+			the scope might be different and the assignment fails.
 			In Vim9 script: the variable must have been declared
 			as a string.
 			The variable will remain empty until redirection ends.