Christian Brabandt wrote:

> Bram,
> currently, when entering diff mode, the OptionSet autocommand is not 
> called.
> 
> The attached patch changes that, so that a user can set specific options 
> only for diffmode.
> 
> Also the oldstyle test was converted to a new style test (and a small 
> bug in the oldstyle test was fixed).
> 
> Please see also the commit description in the attached patch for more 
> information.
> 
> And while I was writing the test, I noticed that test_override() was 
> missing from usr_41.txt, so I added it there as well.

Thanks.

Did you check that something nasty in the autocommand, such as closing
the buffer, doesn't cause trouble?

-- 
I have a watch cat! Just break in and she'll watch.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui