Mercurial > vim
diff src/buffer.c @ 1781:021f9d0f60a1 v7.2.079
updated for version 7.2-079
author | vimboss |
---|---|
date | Tue, 06 Jan 2009 15:14:30 +0000 |
parents | 1c85355293f9 |
children | 15130d4dfea1 |
line wrap: on
line diff
--- a/src/buffer.c +++ b/src/buffer.c @@ -437,10 +437,6 @@ close_buffer(win, buf, action) return; #endif -#ifdef FEAT_NETBEANS_INTG - if (usingNetbeans) - netbeans_file_closed(buf); -#endif /* Change directories when the 'acd' option is set. */ DO_AUTOCHDIR @@ -639,6 +635,10 @@ free_buffer_stuff(buf, free_options) #ifdef FEAT_SIGNS buf_delete_signs(buf); /* delete any signs */ #endif +#ifdef FEAT_NETBEANS_INTG + if (usingNetbeans) + netbeans_file_killed(buf); +#endif #ifdef FEAT_LOCALMAP map_clear_int(buf, MAP_ALL_MODES, TRUE, FALSE); /* clear local mappings */ map_clear_int(buf, MAP_ALL_MODES, TRUE, TRUE); /* clear local abbrevs */ @@ -815,9 +815,6 @@ do_bufdel(command, arg, addr_count, star int bnr; /* buffer number */ char_u *p; -#ifdef FEAT_NETBEANS_INTG - netbeansCloseFile = 1; -#endif if (addr_count == 0) { (void)do_buffer(command, DOBUF_CURRENT, FORWARD, 0, forceit); @@ -912,9 +909,6 @@ do_bufdel(command, arg, addr_count, star } } -#ifdef FEAT_NETBEANS_INTG - netbeansCloseFile = 0; -#endif return errormsg; }