home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.166 < prev    next >
Encoding:
Internet Message Format  |  2014-02-04  |  1.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.166
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.166
  11. Problem:    Auto-loading a function for code that won't be executed.
  12. Solution:   Do not auto-load when evaluation is off. (Yasuhiro Matsumoto)
  13. Files:        src/eval.c
  14.  
  15.  
  16. *** ../vim-7.4.165/src/eval.c    2014-01-23 20:09:29.523869260 +0100
  17. --- src/eval.c    2014-02-05 22:04:21.110548800 +0100
  18. ***************
  19. *** 5159,5165 ****
  20.           {
  21.           /* If "s" is the name of a variable of type VAR_FUNC
  22.            * use its contents. */
  23. !         s = deref_func_name(s, &len, FALSE);
  24.   
  25.           /* Invoke the function. */
  26.           ret = get_func_tv(s, len, rettv, arg,
  27. --- 5159,5165 ----
  28.           {
  29.           /* If "s" is the name of a variable of type VAR_FUNC
  30.            * use its contents. */
  31. !         s = deref_func_name(s, &len, !evaluate);
  32.   
  33.           /* Invoke the function. */
  34.           ret = get_func_tv(s, len, rettv, arg,
  35. *** ../vim-7.4.165/src/version.c    2014-02-05 22:01:56.690546587 +0100
  36. --- src/version.c    2014-02-05 22:06:18.610550600 +0100
  37. ***************
  38. *** 740,741 ****
  39. --- 740,743 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     166,
  43.   /**/
  44.  
  45. -- 
  46. hundred-and-one symptoms of being an internet addict:
  47. 270. You are subscribed to a mailing list for every piece of software
  48.      you use.
  49.  
  50.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  51. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  52. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  53.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  54.