mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4012: error messages are spread out
Problem: Error messages are spread out. Solution: Move the last error messages to errors.h.
This commit is contained in:
@@ -219,11 +219,6 @@ static qf_info_T *ll_get_or_alloc_list(win_T *);
|
||||
static char_u *qf_last_bufname = NULL;
|
||||
static bufref_T qf_last_bufref = {NULL, 0, 0};
|
||||
|
||||
static char *e_current_quickfix_list_was_changed =
|
||||
N_("E925: Current quickfix list was changed");
|
||||
static char *e_current_location_list_was_changed =
|
||||
N_("E926: Current location list was changed");
|
||||
|
||||
/*
|
||||
* Maximum number of bytes allowed per line while reading a errorfile.
|
||||
*/
|
||||
@@ -3160,7 +3155,7 @@ qf_jump_edit_buffer(
|
||||
win_T *wp = win_id2wp(prev_winid);
|
||||
if (wp == NULL && curwin->w_llist != qi)
|
||||
{
|
||||
emsg(_("E924: Current window was closed"));
|
||||
emsg(_(e_current_window_was_closed));
|
||||
*opened_window = FALSE;
|
||||
return NOTDONE;
|
||||
}
|
||||
@@ -8386,7 +8381,6 @@ set_qf_ll_list(
|
||||
typval_T *rettv)
|
||||
{
|
||||
# ifdef FEAT_QUICKFIX
|
||||
static char *e_invact = N_("E927: Invalid action: '%s'");
|
||||
char_u *act;
|
||||
int action = 0;
|
||||
static int recursive = 0;
|
||||
@@ -8414,7 +8408,7 @@ set_qf_ll_list(
|
||||
act[1] == NUL)
|
||||
action = *act;
|
||||
else
|
||||
semsg(_(e_invact), act);
|
||||
semsg(_(e_invalid_action_str_1), act);
|
||||
}
|
||||
else if (action_arg->v_type == VAR_UNKNOWN)
|
||||
action = ' ';
|
||||
|
Reference in New Issue
Block a user