mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 7.4.1347
Problem: When there is any error Vim will use a non-zero exit code. Solution: When using ":silent!" do not set the exit code. (Yasuhiro Matsumoto)
This commit is contained in:
@@ -531,7 +531,8 @@ emsg(char_u *s)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
called_emsg = TRUE;
|
called_emsg = TRUE;
|
||||||
ex_exitval = 1;
|
if (emsg_silent == 0)
|
||||||
|
ex_exitval = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If "emsg_severe" is TRUE: When an error exception is to be thrown,
|
* If "emsg_severe" is TRUE: When an error exception is to be thrown,
|
||||||
|
@@ -747,6 +747,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 */
|
||||||
|
/**/
|
||||||
|
1347,
|
||||||
/**/
|
/**/
|
||||||
1346,
|
1346,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user