]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0224: change to 'fileformats' from autocmd does not take effect v8.0.0224
authorBram Moolenaar <Bram@vim.org>
Mon, 23 Jan 2017 20:31:09 +0000 (21:31 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 23 Jan 2017 20:31:09 +0000 (21:31 +0100)
commit7a2699e868bca781e26b060a44fc714d87cfa4ba
treeed571f2069e7687514658cbad2c40f3984ec09bd
parentfffbf308dd98d1129ba4914d921ab47dc6a6c9b1
patch 8.0.0224: change to 'fileformats' from autocmd does not take effect

Problem:    When 'fileformats' is changed in a BufReadPre auto command, it
            does not take effect in readfile(). (Gary Johnson)
Solution:   Check the value of 'fileformats' after executing auto commands.
            (Christian Brabandt)
src/fileio.c
src/testdir/test_fileformat.vim
src/version.c