Commit 1814183
committed
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)1 parent 182a17b commit 1814183
5 files changed
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6835 | 6835 | | |
6836 | 6836 | | |
6837 | 6837 | | |
| 6838 | + | |
| 6839 | + | |
6838 | 6840 | | |
| 6841 | + | |
| 6842 | + | |
6839 | 6843 | | |
6840 | 6844 | | |
6841 | 6845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6878 | 6878 | | |
6879 | 6879 | | |
6880 | 6880 | | |
| 6881 | + | |
| 6882 | + | |
6881 | 6883 | | |
6882 | 6884 | | |
6883 | 6885 | | |
| |||
6893 | 6895 | | |
6894 | 6896 | | |
6895 | 6897 | | |
| 6898 | + | |
| 6899 | + | |
| 6900 | + | |
6896 | 6901 | | |
6897 | 6902 | | |
6898 | 6903 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3425 | 3425 | | |
3426 | 3426 | | |
3427 | 3427 | | |
| 3428 | + | |
| 3429 | + | |
| 3430 | + | |
3428 | 3431 | | |
3429 | 3432 | | |
3430 | 3433 | | |
| |||
3435 | 3438 | | |
3436 | 3439 | | |
3437 | 3440 | | |
| 3441 | + | |
3438 | 3442 | | |
3439 | 3443 | | |
3440 | 3444 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2190 | 2190 | | |
2191 | 2191 | | |
2192 | 2192 | | |
2193 | | - | |
| 2193 | + | |
2194 | 2194 | | |
2195 | 2195 | | |
2196 | 2196 | | |
| |||
2227 | 2227 | | |
2228 | 2228 | | |
2229 | 2229 | | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| 767 | + | |
| 768 | + | |
767 | 769 | | |
768 | 770 | | |
769 | 771 | | |
| |||
0 commit comments