0
0
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:
Bram Moolenaar
2016-02-18 20:31:34 +01:00
parent a1e24b9bc9
commit 8b778d5599
2 changed files with 4 additions and 1 deletions

View File

@@ -531,7 +531,8 @@ emsg(char_u *s)
return 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,

View File

@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1347,
/**/
1346,
/**/