|
|
073263 |
To: vim_dev@googlegroups.com
|
|
|
073263 |
Subject: Patch 7.4.166
|
|
|
073263 |
Fcc: outbox
|
|
|
073263 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
073263 |
Mime-Version: 1.0
|
|
|
073263 |
Content-Type: text/plain; charset=UTF-8
|
|
|
073263 |
Content-Transfer-Encoding: 8bit
|
|
|
073263 |
------------
|
|
|
073263 |
|
|
|
073263 |
Patch 7.4.166
|
|
|
073263 |
Problem: Auto-loading a function for code that won't be executed.
|
|
|
073263 |
Solution: Do not auto-load when evaluation is off. (Yasuhiro Matsumoto)
|
|
|
073263 |
Files: src/eval.c
|
|
|
073263 |
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.165/src/eval.c 2014-01-23 20:09:29.523869260 +0100
|
|
|
073263 |
--- src/eval.c 2014-02-05 22:04:21.110548800 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 5159,5165 ****
|
|
|
073263 |
{
|
|
|
073263 |
/* If "s" is the name of a variable of type VAR_FUNC
|
|
|
073263 |
* use its contents. */
|
|
|
073263 |
! s = deref_func_name(s, &len, FALSE);
|
|
|
073263 |
|
|
|
073263 |
/* Invoke the function. */
|
|
|
073263 |
ret = get_func_tv(s, len, rettv, arg,
|
|
|
073263 |
--- 5159,5165 ----
|
|
|
073263 |
{
|
|
|
073263 |
/* If "s" is the name of a variable of type VAR_FUNC
|
|
|
073263 |
* use its contents. */
|
|
|
073263 |
! s = deref_func_name(s, &len, !evaluate);
|
|
|
073263 |
|
|
|
073263 |
/* Invoke the function. */
|
|
|
073263 |
ret = get_func_tv(s, len, rettv, arg,
|
|
|
073263 |
*** ../vim-7.4.165/src/version.c 2014-02-05 22:01:56.690546587 +0100
|
|
|
073263 |
--- src/version.c 2014-02-05 22:06:18.610550600 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 740,741 ****
|
|
|
073263 |
--- 740,743 ----
|
|
|
073263 |
{ /* Add new patch number below this line */
|
|
|
073263 |
+ /**/
|
|
|
073263 |
+ 166,
|
|
|
073263 |
/**/
|
|
|
073263 |
|
|
|
073263 |
--
|
|
|
073263 |
hundred-and-one symptoms of being an internet addict:
|
|
|
073263 |
270. You are subscribed to a mailing list for every piece of software
|
|
|
073263 |
you use.
|
|
|
073263 |
|
|
|
073263 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
073263 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
073263 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
073263 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|