]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): clarify the use of v:errormsg
authorChristian Brabandt <cb@256bit.org>
Mon, 1 Dec 2025 20:02:10 +0000 (20:02 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 1 Dec 2025 20:02:10 +0000 (20:02 +0000)
fixes: #18825

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/eval.txt

index 0acd2e24b91a6d84c277ba4b107eeb0b6d6b2645..4f1b0b42f4a45fef2014b5e1c4be39ba47711b87 100644 (file)
@@ -1,4 +1,4 @@
-*eval.txt*     For Vim version 9.1.  Last change: 2025 Nov 30
+*eval.txt*     For Vim version 9.1.  Last change: 2025 Dec 01
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -2381,8 +2381,8 @@ v:echospace       Number of screen cells that can be used for an `:echo` message
                available above the last line.
 
                                        *v:errmsg* *errmsg-variable*
-v:errmsg       Last given error message.  It's allowed to set this variable.
-               Example: >
+v:errmsg       Last error message that occurred (not neccessarily displayed).
+               It's allowed to set this variable.  Example: >
        :let v:errmsg = ""
        :silent! next
        :if v:errmsg != ""