diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
commit | 09092155a66388bbd7be8d16debb35abfcfae700 (patch) | |
tree | 4cbe7f4f0d5c763405f721f7f5dba08864e53ef3 /src/buffer.c | |
parent | 83687a72155c70c062c689a9c545b5cdf5ebd0b4 (diff) |
Remove unused code.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/buffer.c b/src/buffer.c index 0b3742b309..ad484b452e 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -398,13 +398,7 @@ close_buffer(win, buf, action) /* Return when a window is displaying the buffer or when it's not * unloaded. */ if (buf->b_nwindows > 0 || !unload_buf) - { -#if 0 /* why was this here? */ - if (buf == curbuf) - u_sync(); /* sync undo before going to another buffer */ -#endif return; - } /* Always remove the buffer when there is no file name. */ if (buf->b_ffname == NULL) |