runtime(doc): clarify the use of v:errormsg

Commit: 
https://github.com/vim/vim/commit/c3cfdefdeee3928671809a20f86ddc5d0fe4cc74
Author: Christian Brabandt <[email protected]>
Date:   Mon Dec 1 20:02:10 2025 +0000

    runtime(doc): clarify the use of v:errormsg
    
    fixes: https://github.com/vim/vim/issues/18825
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 0acd2e24b..4f1b0b42f 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -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 != ""

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vQAIZ-00Bdsu-Dp%40256bit.org.

Raspunde prin e-mail lui