mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -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:
		| @@ -217,9 +217,9 @@ command with 'l'. | |||||||
| :cex[pr][!] {expr}	Create a quickfix list using the result of {expr} and | :cex[pr][!] {expr}	Create a quickfix list using the result of {expr} and | ||||||
| 			jump to the first error. | 			jump to the first error. | ||||||
| 			If {expr} is a String, then each new-line terminated | 			If {expr} is a String, then each new-line terminated | ||||||
| 			line in the String is processed using the value | 			line in the String is processed using the global value | ||||||
| 			of 'errorformat' (buffer-local value if it was set) | 			of 'errorformat' and the result is added to the | ||||||
| 			and the result is added to the quickfix list. | 			quickfix list. | ||||||
| 			If {expr} is a List, then each String item in the list | 			If {expr} is a List, then each String item in the list | ||||||
| 			is processed and added to the quickfix list.  Non | 			is processed and added to the quickfix list.  Non | ||||||
| 			String items in the List are ignored. | 			String items in the List are ignored. | ||||||
|   | |||||||
| @@ -4230,10 +4230,7 @@ ex_cexpr(eap) | |||||||
| 	if ((tv->v_type == VAR_STRING && tv->vval.v_string != NULL) | 	if ((tv->v_type == VAR_STRING && tv->vval.v_string != NULL) | ||||||
| 		|| (tv->v_type == VAR_LIST && tv->vval.v_list != NULL)) | 		|| (tv->v_type == VAR_LIST && tv->vval.v_list != NULL)) | ||||||
| 	{ | 	{ | ||||||
| 	    char_u *efm = *curwin->w_buffer->b_p_efm == NUL ? p_efm | 	    if (qf_init_ext(qi, NULL, NULL, tv, p_efm, | ||||||
| 						  : curwin->w_buffer->b_p_efm; |  | ||||||
|  |  | ||||||
| 	    if (qf_init_ext(qi, NULL, NULL, tv, efm, |  | ||||||
| 			    (eap->cmdidx != CMD_caddexpr | 			    (eap->cmdidx != CMD_caddexpr | ||||||
| 			     && eap->cmdidx != CMD_laddexpr), | 			     && eap->cmdidx != CMD_laddexpr), | ||||||
| 				 (linenr_T)0, (linenr_T)0, *eap->cmdlinep) > 0 | 				 (linenr_T)0, (linenr_T)0, *eap->cmdlinep) > 0 | ||||||
|   | |||||||
| @@ -741,6 +741,8 @@ static char *(features[]) = | |||||||
|  |  | ||||||
| static int included_patches[] = | static int included_patches[] = | ||||||
| {   /* Add new patch number below this line */ | {   /* Add new patch number below this line */ | ||||||
|  | /**/ | ||||||
|  |     1149, | ||||||
| /**/ | /**/ | ||||||
|     1148, |     1148, | ||||||
| /**/ | /**/ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user