0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1149

Problem:    Using the local value of 'errorformat' causes more problems than
            it solves.
Solution:   Revert 7.4.1013.
This commit is contained in:
Bram Moolenaar
2016-01-21 21:48:09 +01:00
parent e5f2be6159
commit d6357e8f93
3 changed files with 6 additions and 7 deletions

View File

@@ -4230,10 +4230,7 @@ ex_cexpr(eap)
if ((tv->v_type == VAR_STRING && tv->vval.v_string != NULL)
|| (tv->v_type == VAR_LIST && tv->vval.v_list != NULL))
{
char_u *efm = *curwin->w_buffer->b_p_efm == NUL ? p_efm
: curwin->w_buffer->b_p_efm;
if (qf_init_ext(qi, NULL, NULL, tv, efm,
if (qf_init_ext(qi, NULL, NULL, tv, p_efm,
(eap->cmdidx != CMD_caddexpr
&& eap->cmdidx != CMD_laddexpr),
(linenr_T)0, (linenr_T)0, *eap->cmdlinep) > 0