diff runtime/doc/eval.txt @ 31139:20cf2080f1ee

Update runtime files Commit: https://github.com/vim/vim/commit/d13166e788fcaef59ec65c20b46ca4be16625669 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 18 21:49:57 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Fri, 18 Nov 2022 23:00:05 +0100
parents 5acd6f02ea35
children a7801222c9c5
line wrap: on
line diff
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt*	For Vim version 9.0.  Last change: 2022 Oct 07
+*eval.txt*	For Vim version 9.0.  Last change: 2022 Nov 13
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -3073,6 +3073,10 @@ text...
 			Unlock the internal variable {name}.  Does the
 			opposite of |:lockvar|.
 
+			If {name} does not exist:
+			- In |Vim9| script an error is given.
+			- In legacy script this is silently ignored.
+
 :if {expr1}			*:if* *:end* *:endif* *:en* *E171* *E579* *E580*
 :en[dif]		Execute the commands until the next matching `:else`
 			or `:endif` if {expr1} evaluates to non-zero.