|
Karsten Hopp |
81c285 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
81c285 |
Subject: Patch 7.2.165
|
|
Karsten Hopp |
81c285 |
Fcc: outbox
|
|
Karsten Hopp |
81c285 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
81c285 |
Mime-Version: 1.0
|
|
Karsten Hopp |
81c285 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
81c285 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
81c285 |
------------
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
Patch 7.2.165
|
|
Karsten Hopp |
81c285 |
Problem: The argument for the FuncUndefined autocmd event is expanded like
|
|
Karsten Hopp |
81c285 |
a file name.
|
|
Karsten Hopp |
81c285 |
Solution: Don't try expanding it. (Wang Xu)
|
|
Karsten Hopp |
81c285 |
Files: src/fileio.c
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.164/src/fileio.c Wed Apr 29 11:00:09 2009
|
|
Karsten Hopp |
81c285 |
--- src/fileio.c Wed Apr 29 18:01:06 2009
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 8785,8793 ****
|
|
Karsten Hopp |
81c285 |
else
|
|
Karsten Hopp |
81c285 |
{
|
|
Karsten Hopp |
81c285 |
sfname = vim_strsave(fname);
|
|
Karsten Hopp |
81c285 |
! /* Don't try expanding FileType, Syntax, WindowID or QuickFixCmd* */
|
|
Karsten Hopp |
81c285 |
if (event == EVENT_FILETYPE
|
|
Karsten Hopp |
81c285 |
|| event == EVENT_SYNTAX
|
|
Karsten Hopp |
81c285 |
|| event == EVENT_REMOTEREPLY
|
|
Karsten Hopp |
81c285 |
|| event == EVENT_SPELLFILEMISSING
|
|
Karsten Hopp |
81c285 |
|| event == EVENT_QUICKFIXCMDPRE
|
|
Karsten Hopp |
81c285 |
--- 8785,8795 ----
|
|
Karsten Hopp |
81c285 |
else
|
|
Karsten Hopp |
81c285 |
{
|
|
Karsten Hopp |
81c285 |
sfname = vim_strsave(fname);
|
|
Karsten Hopp |
81c285 |
! /* Don't try expanding FileType, Syntax, FuncUndefined, WindowID or
|
|
Karsten Hopp |
81c285 |
! * QuickFixCmd* */
|
|
Karsten Hopp |
81c285 |
if (event == EVENT_FILETYPE
|
|
Karsten Hopp |
81c285 |
|| event == EVENT_SYNTAX
|
|
Karsten Hopp |
81c285 |
+ || event == EVENT_FUNCUNDEFINED
|
|
Karsten Hopp |
81c285 |
|| event == EVENT_REMOTEREPLY
|
|
Karsten Hopp |
81c285 |
|| event == EVENT_SPELLFILEMISSING
|
|
Karsten Hopp |
81c285 |
|| event == EVENT_QUICKFIXCMDPRE
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.164/src/version.c Wed Apr 29 17:39:17 2009
|
|
Karsten Hopp |
81c285 |
--- src/version.c Wed Apr 29 18:00:43 2009
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 678,679 ****
|
|
Karsten Hopp |
81c285 |
--- 678,681 ----
|
|
Karsten Hopp |
81c285 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
81c285 |
+ /**/
|
|
Karsten Hopp |
81c285 |
+ 165,
|
|
Karsten Hopp |
81c285 |
/**/
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
--
|
|
Karsten Hopp |
81c285 |
Be nice to your kids... they'll be the ones choosing your nursing home.
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
81c285 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
81c285 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
81c285 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|