mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0051
This commit is contained in:
@@ -1456,7 +1456,7 @@ qf_list(eap)
|
||||
qf_fmt_text((fname != NULL || qfp->qf_lnum != 0)
|
||||
? skipwhite(qfp->qf_text) : qfp->qf_text,
|
||||
IObuff, IOSIZE);
|
||||
msg_prt_line(IObuff);
|
||||
msg_prt_line(IObuff, FALSE);
|
||||
out_flush(); /* show one line at a time */
|
||||
need_return = TRUE;
|
||||
last_printed = i;
|
||||
@@ -2279,7 +2279,6 @@ ex_vimgrep(eap)
|
||||
exarg_T *eap;
|
||||
{
|
||||
regmmatch_T regmatch;
|
||||
char_u *save_cpo;
|
||||
int fcount;
|
||||
char_u **fnames;
|
||||
char_u *s;
|
||||
@@ -2317,10 +2316,6 @@ ex_vimgrep(eap)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Make 'cpoptions' empty, the 'l' flag should not be used here. */
|
||||
save_cpo = p_cpo;
|
||||
p_cpo = empty_option;
|
||||
|
||||
/* Get the search pattern: either white-separated or enclosed in // */
|
||||
regmatch.regprog = NULL;
|
||||
p = skip_vimgrep_pat(eap->arg, &s);
|
||||
@@ -2545,12 +2540,6 @@ jumpend:
|
||||
|
||||
theend:
|
||||
vim_free(regmatch.regprog);
|
||||
|
||||
/* Only resture 'cpo' when it wasn't set in the mean time. */
|
||||
if (p_cpo == empty_option)
|
||||
p_cpo = save_cpo;
|
||||
else
|
||||
free_string_option(save_cpo);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user