# HG changeset patch # User Christian Brabandt # Date 1444762804 -7200 # Node ID 22f87d5e95330b2499253980640820ad116094be # Parent 2aa03f28a0a2cd129a66c082cbd2ba6988dad795 commit https://github.com/vim/vim/commit/04dfd512293e951479aec2378753b946c39bea87 Author: Bram Moolenaar Date: Tue Oct 13 20:55:50 2015 +0200 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) diff --git a/src/buffer.c b/src/buffer.c --- a/src/buffer.c +++ b/src/buffer.c @@ -547,7 +547,6 @@ buf_clear_file(buf) buf->b_shortname = FALSE; #endif buf->b_p_eol = TRUE; - buf->b_p_fixeol = TRUE; buf->b_start_eol = TRUE; #ifdef FEAT_MBYTE buf->b_p_bomb = FALSE; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 898, +/**/ 897, /**/ 896,