|
Karsten Hopp |
471630 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
471630 |
Subject: Patch 7.4.146
|
|
Karsten Hopp |
471630 |
Fcc: outbox
|
|
Karsten Hopp |
471630 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
471630 |
Mime-Version: 1.0
|
|
Karsten Hopp |
471630 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
471630 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
471630 |
------------
|
|
Karsten Hopp |
471630 |
|
|
Karsten Hopp |
471630 |
Patch 7.4.146
|
|
Karsten Hopp |
471630 |
Problem: When starting Vim with "-u NONE" v:oldfiles is NULL.
|
|
Karsten Hopp |
471630 |
Solution: Set v:oldfiles to an empty list. (Yasuhiro Matsumoto)
|
|
Karsten Hopp |
471630 |
Files: src/main.c
|
|
Karsten Hopp |
471630 |
|
|
Karsten Hopp |
471630 |
|
|
Karsten Hopp |
471630 |
*** ../vim-7.4.145/src/main.c 2013-09-29 16:27:42.000000000 +0200
|
|
Karsten Hopp |
471630 |
--- src/main.c 2014-01-14 12:53:28.000000000 +0100
|
|
Karsten Hopp |
471630 |
***************
|
|
Karsten Hopp |
471630 |
*** 702,707 ****
|
|
Karsten Hopp |
471630 |
--- 702,712 ----
|
|
Karsten Hopp |
471630 |
TIME_MSG("reading viminfo");
|
|
Karsten Hopp |
471630 |
}
|
|
Karsten Hopp |
471630 |
#endif
|
|
Karsten Hopp |
471630 |
+ #ifdef FEAT_EVAL
|
|
Karsten Hopp |
471630 |
+ /* It's better to make v:oldfiles an empty list than NULL. */
|
|
Karsten Hopp |
471630 |
+ if (get_vim_var_list(VV_OLDFILES) == NULL)
|
|
Karsten Hopp |
471630 |
+ set_vim_var_list(VV_OLDFILES, list_alloc());
|
|
Karsten Hopp |
471630 |
+ #endif
|
|
Karsten Hopp |
471630 |
|
|
Karsten Hopp |
471630 |
#ifdef FEAT_QUICKFIX
|
|
Karsten Hopp |
471630 |
/*
|
|
Karsten Hopp |
471630 |
***************
|
|
Karsten Hopp |
471630 |
*** 1048,1054 ****
|
|
Karsten Hopp |
471630 |
/* Setup to catch a terminating error from the X server. Just ignore
|
|
Karsten Hopp |
471630 |
* it, restore the state and continue. This might not always work
|
|
Karsten Hopp |
471630 |
* properly, but at least we don't exit unexpectedly when the X server
|
|
Karsten Hopp |
471630 |
! * exists while Vim is running in a console. */
|
|
Karsten Hopp |
471630 |
if (!cmdwin && !noexmode && SETJMP(x_jump_env))
|
|
Karsten Hopp |
471630 |
{
|
|
Karsten Hopp |
471630 |
State = NORMAL;
|
|
Karsten Hopp |
471630 |
--- 1053,1059 ----
|
|
Karsten Hopp |
471630 |
/* Setup to catch a terminating error from the X server. Just ignore
|
|
Karsten Hopp |
471630 |
* it, restore the state and continue. This might not always work
|
|
Karsten Hopp |
471630 |
* properly, but at least we don't exit unexpectedly when the X server
|
|
Karsten Hopp |
471630 |
! * exits while Vim is running in a console. */
|
|
Karsten Hopp |
471630 |
if (!cmdwin && !noexmode && SETJMP(x_jump_env))
|
|
Karsten Hopp |
471630 |
{
|
|
Karsten Hopp |
471630 |
State = NORMAL;
|
|
Karsten Hopp |
471630 |
*** ../vim-7.4.145/src/version.c 2014-01-14 12:33:32.000000000 +0100
|
|
Karsten Hopp |
471630 |
--- src/version.c 2014-01-14 12:56:08.000000000 +0100
|
|
Karsten Hopp |
471630 |
***************
|
|
Karsten Hopp |
471630 |
*** 740,741 ****
|
|
Karsten Hopp |
471630 |
--- 740,743 ----
|
|
Karsten Hopp |
471630 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
471630 |
+ /**/
|
|
Karsten Hopp |
471630 |
+ 146,
|
|
Karsten Hopp |
471630 |
/**/
|
|
Karsten Hopp |
471630 |
|
|
Karsten Hopp |
471630 |
--
|
|
Karsten Hopp |
471630 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
471630 |
152. You find yourself falling for someone you've never seen or hardly
|
|
Karsten Hopp |
471630 |
know, but, boy can he/she TYPE!!!!!!
|
|
Karsten Hopp |
471630 |
|
|
Karsten Hopp |
471630 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
471630 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
471630 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
471630 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|