]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0509: confusing error for "saveas" command with "nofile" buffer v9.0.0509
authorBram Moolenaar <Bram@vim.org>
Tue, 20 Sep 2022 10:49:10 +0000 (11:49 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 20 Sep 2022 10:49:10 +0000 (11:49 +0100)
commit500a1f9972afa354f0bc77bc535aabf9f5f0116d
treef7a6f9e74ec4e5c54c230c9003b3032a7ae19b23
parentcd9fa256b587b2805faeaaa4b7a8c7d483a8ac54
patch 9.0.0509: confusing error for "saveas" command with "nofile" buffer

Problem:    Confusing error for "saveas" command with "nofile" buffer.
Solution:   Give a clearer error message. (closes #11171)
src/bufwrite.c
src/errors.h
src/testdir/test_writefile.vim
src/version.c