diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-31 11:37:57 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-31 11:37:57 +0100 |
commit | 4dea2d92e4c308b064ed1dd7b2ba7527a0d6b0a0 (patch) | |
tree | a7be19a7aa8b4a9c4e48084639ad51db96f36db6 /src/ex_docmd.c | |
parent | d1d2684c8006105444d249e846576c23d79ad4ee (diff) |
patch 8.2.4653: "import autoload" does not check the file namev8.2.4653
Problem: "import autoload" does not check the file name.
Solution: Give an error if the file is not readable. (closes #10049)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index c5e96bde5b..c12f151c3a 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -8386,7 +8386,7 @@ open_exfile( // with Unix it is possible to open a directory if (mch_isdir(fname)) { - semsg(_(e_src_is_directory), fname); + semsg(_(e_str_is_directory), fname); return NULL; } #endif |