summaryrefslogtreecommitdiff
path: root/src/os_unix.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/os_unix.c
parent67c53844343011089e1b847200b5c5257a83e1c4 (diff)
downloadvim-git-b26e6327e69ed57c897d59183a4171c5eb979c19.tar.gz
Add :nbstart and :nbclose.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 5059ab152..4cb1d4a7e 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -368,8 +368,7 @@ mch_inchar(buf, maxlen, wtime, tb_change_cnt)
#ifdef FEAT_NETBEANS_INTG
/* Process the queued netbeans messages. */
- if (usingNetbeans)
- netbeans_parse_messages();
+ netbeans_parse_messages();
#endif
/* Check if window changed size while we were busy, perhaps the ":set
@@ -386,8 +385,7 @@ mch_inchar(buf, maxlen, wtime, tb_change_cnt)
handle_resize();
#ifdef FEAT_NETBEANS_INTG
/* Process the queued netbeans messages. */
- if (usingNetbeans)
- netbeans_parse_messages();
+ netbeans_parse_messages();
#endif
}
}
@@ -421,8 +419,7 @@ mch_inchar(buf, maxlen, wtime, tb_change_cnt)
#ifdef FEAT_NETBEANS_INTG
/* Process the queued netbeans messages. */
- if (usingNetbeans)
- netbeans_parse_messages();
+ netbeans_parse_messages();
#endif
/*
* we want to be interrupted by the winch signal
@@ -3108,8 +3105,7 @@ mch_exit(r)
#endif
#ifdef FEAT_NETBEANS_INTG
- if (usingNetbeans)
- netbeans_send_disconnect();
+ netbeans_send_disconnect();
#endif
#ifdef EXITFREE
@@ -4788,7 +4784,7 @@ RealWaitForChar(fd, msec, check_for_gpm)
{
int ret;
#ifdef FEAT_NETBEANS_INTG
- int nb_fd = (usingNetbeans ? netbeans_filedesc() : -1);
+ int nb_fd = netbeans_filedesc();
#endif
#if defined(FEAT_XCLIPBOARD) || defined(USE_XSMP) || defined(FEAT_MZSCHEME)
static int busy = FALSE;