# HG changeset patch # User vimboss # Date 1185263478 0 # Node ID 76c2b2dd25c9c6945489a1c636f7e375ef1f40d0 # Parent eb57516376d4b43889fe43594048f183af15c31e updated for version 7.1-033 diff --git a/src/option.c b/src/option.c --- a/src/option.c +++ b/src/option.c @@ -10624,6 +10624,9 @@ save_file_ff(buf) file_ff_differs(buf) buf_T *buf; { + /* In a buffer that was never loaded the options are not valid. */ + if (buf->b_flags & BF_NEVERLOADED) + return FALSE; if ((buf->b_flags & BF_NEW) && buf->b_ml.ml_line_count == 1 && *ml_get_buf(buf, (linenr_T)1, FALSE) == NUL) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 33, +/**/ 32, /**/ 31,