On Fr, 07 Jul 2017, Bram Moolenaar wrote:
> Did you check that something nasty in the autocommand, such as closing
> the buffer, doesn't cause trouble?
This version does, by setting curbuf_locked. That makes at least my
initial test:
au OptionSet diff :close
not fail (and still enters diff mode). (previously it would segfault.)
Best,
Christian
--
Traue den Menschen doch etwas mehr, sie sind wohl manchmal besser als
wir meinen.
-- S. Gontard