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