vim-patch:7.4.898

Problem:    The 'fixendofline' option is set on with ":edit".
Solution:   Don't set the option when clearing a buffer. (Yasuhiro Matsumoto)

04dfd51229
This commit is contained in:
Johan Klokkhammer Helsing
2015-10-14 20:22:01 +02:00
parent 8d07058097
commit 98f9ff730b
2 changed files with 1 additions and 2 deletions

View File

@@ -479,7 +479,6 @@ void buf_clear_file(buf_T *buf)
buf->b_ml.ml_line_count = 1; buf->b_ml.ml_line_count = 1;
unchanged(buf, TRUE); unchanged(buf, TRUE);
buf->b_p_eol = TRUE; buf->b_p_eol = TRUE;
buf->b_p_fixeol = true;
buf->b_start_eol = TRUE; buf->b_start_eol = TRUE;
buf->b_p_bomb = FALSE; buf->b_p_bomb = FALSE;
buf->b_start_bomb = FALSE; buf->b_start_bomb = FALSE;

View File

@@ -98,7 +98,7 @@ static int included_patches[] = {
// 901, // 901,
// 900 NA // 900 NA
// 899 NA // 899 NA
// 898, 898,
// 897, // 897,
// 896, // 896,
// 895, // 895,