comparison src/quickfix.c @ 532:7052f11a3dc9

updated for version 7.0150
author vimboss
date Sun, 25 Sep 2005 22:16:38 +0000
parents da9142bd190a
children ec04f19aed55
comparison
equal deleted inserted replaced
531:da9142bd190a 532:7052f11a3dc9
2213 } 2213 }
2214 if (au_name != NULL) 2214 if (au_name != NULL)
2215 { 2215 {
2216 apply_autocmds(EVENT_QUICKFIXCMDPRE, au_name, 2216 apply_autocmds(EVENT_QUICKFIXCMDPRE, au_name,
2217 curbuf->b_fname, TRUE, curbuf); 2217 curbuf->b_fname, TRUE, curbuf);
2218 # ifdef FEAT_EVAL
2218 if (did_throw || force_abort) 2219 if (did_throw || force_abort)
2219 return; 2220 return;
2221 # endif
2220 } 2222 }
2221 #endif 2223 #endif
2222 2224
2223 /* Redirect ":grep" to ":vimgrep" if 'grepprg' is "internal". */ 2225 /* Redirect ":grep" to ":vimgrep" if 'grepprg' is "internal". */
2224 if (grep_internal(eap->cmdidx)) 2226 if (grep_internal(eap->cmdidx))
2972 else 2974 else
2973 qf_init_ext(NULL, buf, NULL, p_efm, TRUE, eap->line1, eap->line2); 2975 qf_init_ext(NULL, buf, NULL, p_efm, TRUE, eap->line1, eap->line2);
2974 } 2976 }
2975 } 2977 }
2976 2978
2979 #if defined(FEAT_EVAL) || defined(PROTO)
2977 /* 2980 /*
2978 * ":cexpr {expr}" command. 2981 * ":cexpr {expr}" command.
2979 */ 2982 */
2980 void 2983 void
2981 ex_cexpr(eap) 2984 ex_cexpr(eap)
2992 if (qf_init_ext(NULL, NULL, tv, p_efm, TRUE, (linenr_T)0, (linenr_T)0) > 0) 2995 if (qf_init_ext(NULL, NULL, tv, p_efm, TRUE, (linenr_T)0, (linenr_T)0) > 0)
2993 qf_jump(0, 0, eap->forceit); /* display first error */ 2996 qf_jump(0, 0, eap->forceit); /* display first error */
2994 2997
2995 clear_tv(tv); 2998 clear_tv(tv);
2996 } 2999 }
3000 #endif
2997 3001
2998 /* 3002 /*
2999 * ":helpgrep {pattern}" 3003 * ":helpgrep {pattern}"
3000 */ 3004 */
3001 void 3005 void