0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

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)
This commit is contained in:
Bram Moolenaar
2017-06-25 21:17:25 +02:00
parent 182a17b1e8
commit 1814183b86
5 changed files with 32 additions and 1 deletions

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
677,
/**/
676,
/**/