diff options
author | vimboss <devnull@localhost> | 2007-07-24 07:51:18 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2007-07-24 07:51:18 +0000 |
commit | 5788cfa282a1bfbd8ebe2563085a923372d9c73e (patch) | |
tree | b6c4bd0354a36f9643507e7ded1107a17f55f283 | |
parent | 37e099ec65d43d4fa23f0997e062542063e49e29 (diff) | |
download | vim-5788cfa282a1bfbd8ebe2563085a923372d9c73e.tar.gz |
-rw-r--r-- | src/option.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c index b4beef1c..51e6a34e 100644 --- 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 index 082ce127..98ecaf88 100644 --- 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, |