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)
Files:      src/message.c


*** ../vim-7.4.1346/src/message.c       2016-01-30 18:51:05.244231890 +0100
--- src/message.c       2016-02-18 20:22:55.031624399 +0100
***************
*** 531,537 ****
        return TRUE;
  
      called_emsg = TRUE;
!     ex_exitval = 1;
  
      /*
       * If "emsg_severe" is TRUE: When an error exception is to be thrown,
--- 531,538 ----
        return TRUE;
  
      called_emsg = TRUE;
!     if (emsg_silent == 0)
!       ex_exitval = 1;
  
      /*
       * If "emsg_severe" is TRUE: When an error exception is to be thrown,
*** ../vim-7.4.1346/src/version.c       2016-02-18 20:18:04.974654638 +0100
--- src/version.c       2016-02-18 20:28:31.720237498 +0100
***************
*** 749,750 ****
--- 749,752 ----
  {   /* Add new patch number below this line */
+ /**/
+     1347,
  /**/

-- 
TALL KNIGHT OF NI: Ni!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui