summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-22 21:34:09 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-22 21:34:09 +0200
commitb26e6327e69ed57c897d59183a4171c5eb979c19 (patch)
tree523c56a73826b7917ebe46580ce7936f86556aae /src/buffer.c
parent67c53844343011089e1b847200b5c5257a83e1c4 (diff)
downloadvim-git-b26e6327e69ed57c897d59183a4171c5eb979c19.tar.gz
Add :nbstart and :nbclose.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 0569f166d..531e4b9a2 100644
--- 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. */