On 20/09/12 08:45, Tony Mechelynck wrote:
oops…

     au VimEnter * au FileType *
         \ call s:DoFiletype() |
         \ let b:save_undo_ftp =
                \ exists('b:undo_ftplugin')?
                \ b:undo_ftplugin : "" |
         \ let b:undo_ftplugin =
             \ 'call s:UndoFiletype() | exe b:save_undo_ftp'
     function s:DoFiletype()
         " … do something …
     endfunction
     function s:UndoFiletype()
         " … undo the above …
     endfunction


Best regards,
Tony.
--
Law of Selective Gravity:
        An object will fall so as to do the most damage.

Jenning's Corollary:
        The chance of the bread falling with the buttered side down is
directly proportional to the cost of the carpet.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to