mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 8.2.3069: error messages are spread out
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
This commit is contained in:
@@ -5972,12 +5972,12 @@ mkspell(
|
||||
// time.
|
||||
if (!over_write && mch_stat((char *)wfname, &st) >= 0)
|
||||
{
|
||||
emsg(_(e_exists));
|
||||
emsg(_(e_file_exists));
|
||||
goto theend;
|
||||
}
|
||||
if (mch_isdir(wfname))
|
||||
{
|
||||
semsg(_(e_isadir2), wfname);
|
||||
semsg(_(e_src_is_directory), wfname);
|
||||
goto theend;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user