diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-01-06 15:14:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-01-06 15:14:30 +0000 |
commit | d7f8f5c8470f093aaede6baabb5aeeca8682bf8c (patch) | |
tree | 847a7d0b951515c1b57f3ae0aca25a043a2d228c /src/buffer.c | |
parent | 238b8e20bb3c659a7350ab4dbf04d05a56ab2d13 (diff) | |
download | vim-git-d7f8f5c8470f093aaede6baabb5aeeca8682bf8c.tar.gz |
updated for version 7.2-079v7.2.079
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/buffer.c b/src/buffer.c index e08cdbe6e..b510bf963 100644 --- 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, start_bnr, end_bnr, forceit) 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, start_bnr, end_bnr, forceit) } } -#ifdef FEAT_NETBEANS_INTG - netbeansCloseFile = 0; -#endif return errormsg; } |