Remove FEAT_MENU

Support for :menu command. It can be used in terminal Vim too.
This commit is contained in:
Hinidu
2014-04-12 00:12:05 +03:00
committed by Justin M. Keyes
parent 50429aee6e
commit 75f152d09b
4 changed files with 3 additions and 6 deletions

View File

@@ -120,7 +120,6 @@
#define FEAT_LINEBREAK
#define FEAT_LISP
#define FEAT_LOCALMAP
#define FEAT_MENU
#define FEAT_MODIFY_FNAME
#define FEAT_MOUSE
#define FEAT_MOUSE_DEC

View File

@@ -1395,7 +1395,7 @@ void ex_emenu(exarg_T *eap)
}
#if defined(FEAT_GUI_MSWIN) \
|| (defined(FEAT_GUI_GTK) && defined(FEAT_MENU)) \
|| defined(FEAT_GUI_GTK) \
|| defined(FEAT_BEVAL_TIP) || defined(PROTO)
/*
* Given a menu descriptor, e.g. "File.New", find it in the menu hierarchy.

View File

@@ -2324,8 +2324,7 @@ void ttest(int pairs)
t_colors = atoi((char *)T_CCO);
}
#if (defined(FEAT_GUI) && (defined(FEAT_MENU) || !defined(USE_ON_FLY_SCROLL))) \
|| defined(PROTO)
#if defined(FEAT_GUI) || defined(PROTO)
static int get_long_from_buf(char_u *buf, long_u *val);
/*

View File

@@ -329,8 +329,7 @@ void add_to_input_buf(char_u *s, int len)
|| defined(FEAT_GUI_MSWIN) \
|| defined(FEAT_GUI_MAC) \
|| defined(FEAT_MBYTE_IME) \
|| (defined(FEAT_GUI) && (!defined(USE_ON_FLY_SCROLL) \
|| defined(FEAT_MENU))) \
|| defined(FEAT_GUI) \
|| defined(PROTO)
/*
* Add "str[len]" to the input buffer while escaping CSI bytes.