commit | 9cffde9627bf54c1e32212685f3c03a62a132835 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jul 24 07:51:18 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jul 24 07:51:18 2007 +0000 |
tree | b6c4bd0354a36f9643507e7ded1107a17f55f283 | |
parent | 5f2c5dbd86d18835e094e465a769102d224f3d83 [diff] [blame] |
updated for version 7.1-033
diff --git a/src/option.c b/src/option.c index b4beef1..51e6a34 100644 --- a/src/option.c +++ b/src/option.c
@@ -10624,6 +10624,9 @@ 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)