Patch 8.0.1607
Problem: --clean loads user settings from .gvimrc.
Solution: Behave like "-U NONE" was used. (Ken Takata)
Files: src/main.c, runtime/doc/starting.txt
*** ../vim-8.0.1606/src/main.c 2018-03-04 20:14:08.248064341 +0100
--- src/main.c 2018-03-14 21:13:36.826630068 +0100
***************
*** 1881,1886 ****
--- 1881,1889 ----
else if (STRNICMP(argv[0] + argv_idx, "clean", 5) == 0)
{
parmp->use_vimrc = (char_u *)"DEFAULTS";
+ #ifdef FEAT_GUI
+ use_gvimrc = (char_u *)"NONE";
+ #endif
parmp->clean = TRUE;
set_option_value((char_u *)"vif", 0L, (char_u *)"NONE", 0);
}
*** ../vim-8.0.1606/runtime/doc/starting.txt 2018-03-01 21:57:26.527801843
+0100
--- runtime/doc/starting.txt 2018-03-14 21:15:56.581757812 +0100
***************
*** 508,518 ****
{not in Vi}
*--clean*
! --clean Equal to "-u DEFAULTS -i NONE":
- initializations from files and environment variables is
skipped
- the |defaults.vim| script is loaded, which implies
'nocompatible': use Vim defaults
- no viminfo file is read or written
- the home directory is excluded from 'runtimepath'
*-x*
--- 510,521 ----
{not in Vi}
*--clean*
! --clean Equal to "-u DEFAULTS -U NONE -i NONE":
- initializations from files and environment variables is
skipped
- the |defaults.vim| script is loaded, which implies
'nocompatible': use Vim defaults
+ - no |gvimrc| script is loaded
- no viminfo file is read or written
- the home directory is excluded from 'runtimepath'
*-x*
*** ../vim-8.0.1606/src/version.c 2018-03-14 20:10:36.925878904 +0100
--- src/version.c 2018-03-14 21:14:59.026116932 +0100
***************
*** 768,769 ****
--- 768,771 ----
{ /* Add new patch number below this line */
+ /**/
+ 1607,
/**/
--
hundred-and-one symptoms of being an internet addict:
15. Your heart races faster and beats irregularly each time you see a new WWW
site address in print or on TV, even though you've never had heart
problems before.
/// 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.