Remove BalloonEval

This commit is contained in:
John Schmidt 2014-03-17 18:51:10 +01:00 committed by Thiago de Arruda
parent fe7160b1d7
commit 5ae8094fb4
3 changed files with 2 additions and 9 deletions

View File

@ -1615,11 +1615,9 @@ getcmdline_prompt (
/* /*
* Return TRUE when the text must not be changed and we can't switch to * Return TRUE when the text must not be changed and we can't switch to
* another window or buffer. Used when editing the command line, evaluating * another window or buffer. Used when editing the command line etc.
* 'balloonexpr', etc.
*/ */
int text_locked(void) int text_locked(void) {
{
if (cmdwin_type != 0) if (cmdwin_type != 0)
return TRUE; return TRUE;
return textlock != 0; return textlock != 0;

View File

@ -42,8 +42,4 @@ vim_snprintf(char *, size_t, char *, ...);
int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs); int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs);
/* Ugly solution for "BalloonEval" not being defined while it's used in some
* .pro files. */
# define BalloonEval int
#endif /* !PROTO && !NOPROTO */ #endif /* !PROTO && !NOPROTO */

View File

@ -36,7 +36,6 @@ static char *(features[]) = {
#endif // ifdef HAVE_ACL #endif // ifdef HAVE_ACL
"+arabic", "+arabic",
"+autocmd", "+autocmd",
"-balloon_eval",
"-browse", "-browse",
#ifdef NO_BUILTIN_TCAPS #ifdef NO_BUILTIN_TCAPS
"-builtin_terms", "-builtin_terms",