Mercurial > vim
comparison src/filepath.c @ 19695:1697a25328fd v8.2.0404
patch 8.2.0404: writefile() error does not give a hint
Commit: https://github.com/vim/vim/commit/18a2b87ca27c378a555b20f14a284d2ce3511427
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 19 13:08:45 2020 +0100
patch 8.2.0404: writefile() error does not give a hint
Problem: Writefile() error does not give a hint.
Solution: Add remark about first argument.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 19 Mar 2020 13:15:03 +0100 |
parents | 782f410c5df3 |
children | 435726a03481 |
comparison
equal
deleted
inserted
replaced
19694:196dcd448100 | 19695:1697a25328fd |
---|---|
1927 if (blob == NULL) | 1927 if (blob == NULL) |
1928 return; | 1928 return; |
1929 } | 1929 } |
1930 else | 1930 else |
1931 { | 1931 { |
1932 semsg(_(e_invarg2), "writefile()"); | 1932 semsg(_(e_invarg2), |
1933 _("writefile() first argument must be a List or a Blob")); | |
1933 return; | 1934 return; |
1934 } | 1935 } |
1935 | 1936 |
1936 if (argvars[2].v_type != VAR_UNKNOWN) | 1937 if (argvars[2].v_type != VAR_UNKNOWN) |
1937 { | 1938 { |