mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
This commit is contained in:
@@ -2496,7 +2496,7 @@ win_close(win_T *win, int free_buf)
|
||||
return FAIL; // window is already being closed
|
||||
if (win_unlisted(win))
|
||||
{
|
||||
emsg(_(e_autocmd_close));
|
||||
emsg(_(e_cannot_close_autocmd_or_popup_window));
|
||||
return FAIL;
|
||||
}
|
||||
if ((firstwin == aucmd_win || lastwin == aucmd_win) && one_window())
|
||||
|
Reference in New Issue
Block a user