diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-19 13:08:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-19 13:08:45 +0100 |
commit | 18a2b87ca27c378a555b20f14a284d2ce3511427 (patch) | |
tree | 8edab39837a409af9a30ea1082aa281a4d0eb217 /src/filepath.c | |
parent | a3a9c8ef697bbf6f640cde99710b6f534f29f77d (diff) |
patch 8.2.0404: writefile() error does not give a hintv8.2.0404
Problem: Writefile() error does not give a hint.
Solution: Add remark about first argument.
Diffstat (limited to 'src/filepath.c')
-rw-r--r-- | src/filepath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filepath.c b/src/filepath.c index 79eb7bf988..49b814fab7 100644 --- a/src/filepath.c +++ b/src/filepath.c @@ -1929,7 +1929,8 @@ f_writefile(typval_T *argvars, typval_T *rettv) } else { - semsg(_(e_invarg2), "writefile()"); + semsg(_(e_invarg2), + _("writefile() first argument must be a List or a Blob")); return; } |