diff options
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c index b6b999e920..3af7df19f1 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4659,10 +4659,7 @@ int buf_contents_changed(buf_T *buf) return TRUE; /* Force the 'fileencoding' and 'fileformat' to be equal. */ - if (prep_exarg(&ea, buf) == FAIL) { - wipe_buffer(newbuf, FALSE); - return TRUE; - } + prep_exarg(&ea, buf); /* set curwin/curbuf to buf and save a few things */ aucmd_prepbuf(&aco, newbuf); |