Karsten Hopp 20da59
To: vim_dev@googlegroups.com
Karsten Hopp 20da59
Subject: Patch 7.3.340
Karsten Hopp 20da59
Fcc: outbox
Karsten Hopp 20da59
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 20da59
Mime-Version: 1.0
Karsten Hopp 20da59
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 20da59
Content-Transfer-Encoding: 8bit
Karsten Hopp 20da59
------------
Karsten Hopp 20da59
Karsten Hopp 20da59
Patch 7.3.340
Karsten Hopp 20da59
Problem:    When 'verbosefile' is set ftplugof.vim can give an error.
Karsten Hopp 20da59
Solution:   Only remove filetypeplugin autocommands when they exist. (Yasuhiro
Karsten Hopp 20da59
	    Matsumoto)
Karsten Hopp 20da59
Files:	    runtime/ftplugof.vim
Karsten Hopp 20da59
Karsten Hopp 20da59
Karsten Hopp 20da59
*** ../vim-7.3.339/runtime/ftplugof.vim	2010-08-15 21:57:11.000000000 +0200
Karsten Hopp 20da59
--- runtime/ftplugof.vim	2011-10-20 16:51:00.000000000 +0200
Karsten Hopp 20da59
***************
Karsten Hopp 20da59
*** 1,11 ****
Karsten Hopp 20da59
  " Vim support file to switch off loading plugins for file types
Karsten Hopp 20da59
  "
Karsten Hopp 20da59
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
Karsten Hopp 20da59
! " Last Change:	2002 Apr 04
Karsten Hopp 20da59
  
Karsten Hopp 20da59
  if exists("did_load_ftplugin")
Karsten Hopp 20da59
    unlet did_load_ftplugin
Karsten Hopp 20da59
  endif
Karsten Hopp 20da59
  
Karsten Hopp 20da59
! " Remove all autocommands in the filetypeplugin group
Karsten Hopp 20da59
! silent! au! filetypeplugin *
Karsten Hopp 20da59
--- 1,13 ----
Karsten Hopp 20da59
  " Vim support file to switch off loading plugins for file types
Karsten Hopp 20da59
  "
Karsten Hopp 20da59
  " Maintainer:	Bram Moolenaar <Bram@vim.org>
Karsten Hopp 20da59
! " Last Change:	2011 Oct 20
Karsten Hopp 20da59
  
Karsten Hopp 20da59
  if exists("did_load_ftplugin")
Karsten Hopp 20da59
    unlet did_load_ftplugin
Karsten Hopp 20da59
  endif
Karsten Hopp 20da59
  
Karsten Hopp 20da59
! " Remove all autocommands in the filetypeplugin group, if any exist.
Karsten Hopp 20da59
! if exists("#filetypeplugin")
Karsten Hopp 20da59
!   silent! au! filetypeplugin *
Karsten Hopp 20da59
! endif
Karsten Hopp 20da59
*** ../vim-7.3.339/src/version.c	2011-10-20 16:35:25.000000000 +0200
Karsten Hopp 20da59
--- src/version.c	2011-10-20 18:01:18.000000000 +0200
Karsten Hopp 20da59
***************
Karsten Hopp 20da59
*** 711,712 ****
Karsten Hopp 20da59
--- 711,714 ----
Karsten Hopp 20da59
  {   /* Add new patch number below this line */
Karsten Hopp 20da59
+ /**/
Karsten Hopp 20da59
+     340,
Karsten Hopp 20da59
  /**/
Karsten Hopp 20da59
Karsten Hopp 20da59
-- 
Karsten Hopp 20da59
How many light bulbs does it take to change a person?
Karsten Hopp 20da59
Karsten Hopp 20da59
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 20da59
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 20da59
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 20da59
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///