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)
diff --git a/src/message.c b/src/message.c
index b352590..6c9dd64 100644
--- a/src/message.c
+++ b/src/message.c
@@ -531,7 +531,8 @@
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,
diff --git a/src/version.c b/src/version.c
index 315a414..31e15c3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -748,6 +748,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1347,
+/**/
1346,
/**/
1345,