diff runtime/doc/builtin.txt @ 26782:b7b82279426f v8.2.3919

patch 8.2.3919: Vim9: wrong argument for append() results in two errors Commit: https://github.com/vim/vim/commit/8b6256f6ec075cca40341e61ebc9f538b4902dd1 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 28 11:24:49 2021 +0000 patch 8.2.3919: Vim9: wrong argument for append() results in two errors Problem: Vim9: wrong argument for append() results in two errors. Solution: Check did_emsg. Also for setline(). Adjust the help for appendbufline().
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Dec 2021 12:30:04 +0100
parents 629e7046ef63
children eafb9fd4ec32
line wrap: on
line diff
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -806,9 +806,10 @@ appendbufline({buf}, {lnum}, {text})			*
 
 		For the use of {buf}, see |bufname()|.
 
-		{lnum} is used like with |append()|.  Note that using |line()|
-		would use the current buffer, not the one appending to.
-		Use "$" to append at the end of the buffer.
+		{lnum} is the line number to append below.  Note that using
+		|line()| would use the current buffer, not the one appending
+		to.  Use "$" to append at the end of the buffer.  Other string
+		values are not supported.
 
 		On success 0 is returned, on failure 1 is returned.
 		In |Vim9| script an error is given for an invalid {lnum}.