]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0677: setting 'filetype' may switch buffers v8.0.0677
authorBram Moolenaar <Bram@vim.org>
Sun, 25 Jun 2017 19:17:25 +0000 (21:17 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 25 Jun 2017 19:17:25 +0000 (21:17 +0200)
commit1814183b865059679f6ee526ec23fc575e536e66
tree27687232ab6376a33759072132c4e3bf9c20ba17
parent182a17b1e80b92826204d967808df0d30eb2ef27
patch 8.0.0677: setting 'filetype' may switch buffers

Problem:    Setting 'filetype' internally may cause the current buffer and
            window to change unexpectedly.
Solution:   Set curbuf_lock. (closes #1734)
src/ex_cmds.c
src/ex_getln.c
src/quickfix.c
src/testdir/test_quickfix.vim
src/version.c