Re: An error on patch 8.0.0736

2017-07-22 Fir de Conversatie Bram Moolenaar
Rick Howe wrote: > I found an error on patch 8.0.0736. > With the following sample function, > 'diffthis' and 'diffoff' will cause > "E788: Not allowed to edit anoter buffer now" > on 'wincmd'. > > augroup xyz > au! &g

An error on patch 8.0.0736

2017-07-21 Fir de Conversatie Rick Howe
Hello, I found an error on patch 8.0.0736. With the following sample function, 'diffthis' and 'diffoff' will cause "E788: Not allowed to edit anoter buffer now" on 'wincmd'. augroup xyz au! au OptionSet * call XYZ() augroup END functi

Patch 8.0.0736

2017-07-19 Fir de Conversatie Bram Moolenaar
Patch 8.0.0736 Problem:The OptionSet autocommand event is not triggered when entering diff mode. Solution: use set_option_value() instead of setting the option directly. Change the tests from old to new style. (Christian Brabandt) Files: src/diff.c, src/testdir