# HG changeset patch # User Bram Moolenaar # Date 1555097405 -7200 # Node ID 6400235ca4ad0400059a20ad2c6c255d73bbac58 # Parent 8b595d158a1f735527afa5bf83671e65ca6b4cf4 patch 8.1.1159: MS-Windows: with a silent (un)install $VIM/_vimrc is removed commit https://github.com/vim/vim/commit/a8d22e3a40483cd1fa9c6e45dcf383f49f16833a Author: Bram Moolenaar Date: Fri Apr 12 21:29:33 2019 +0200 patch 8.1.1159: MS-Windows: with a silent (un)install $VIM/_vimrc is removed Problem: MS-Windows: with a silent (un)install $VIM/_vimrc is removed. Solution: Don't delete _vimrc in silent mode. (Ken Takata, closes https://github.com/vim/vim/issues/4242) diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi --- a/nsis/gvim.nsi +++ b/nsis/gvim.nsi @@ -1096,7 +1096,9 @@ Section "un.$(str_unsection_rootdir)" id Call un.GetParent Pop $0 - Delete $0\_vimrc + ${IfNot} ${Silent} + Delete $0\_vimrc + ${Endif} RMDir $0 SectionEnd diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1159, +/**/ 1158, /**/ 1157,