Mercurial > vim
diff src/buffer.c @ 2210:8c6a66e2b3cc vim73
Add :nbstart and :nbclose.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 22 May 2010 21:34:09 +0200 |
parents | 95b659982b7c |
children | f8222d1f9a73 |
line wrap: on
line diff
--- a/src/buffer.c +++ b/src/buffer.c @@ -636,8 +636,7 @@ free_buffer_stuff(buf, free_options) buf_delete_signs(buf); /* delete any signs */ #endif #ifdef FEAT_NETBEANS_INTG - if (usingNetbeans) - netbeans_file_killed(buf); + netbeans_file_killed(buf); #endif #ifdef FEAT_LOCALMAP map_clear_int(buf, MAP_ALL_MODES, TRUE, FALSE); /* clear local mappings */ @@ -1447,8 +1446,7 @@ enter_buffer(buf) #ifdef FEAT_NETBEANS_INTG /* Send fileOpened event because we've changed buffers. */ - if (usingNetbeans && isNetbeansBuffer(curbuf)) - netbeans_file_activated(curbuf); + netbeans_file_activated(curbuf); #endif /* Change directories when the 'acd' option is set. */