less: disable _ command, it's useless bloat

This commit is contained in:
Denis Vlasenko 2008-10-26 00:15:36 +00:00
parent bdd2d8f178
commit 7b32e8f0bf

View File

@ -1211,6 +1211,7 @@ static void flag_change(void)
}
}
#ifdef BLOAT
static void show_flag_status(void)
{
int keypress;
@ -1246,6 +1247,8 @@ static void show_flag_status(void)
}
#endif
#endif /* ENABLE_FEATURE_LESS_DASHCMD */
static void save_input_to_file(void)
{
const char *msg = "";
@ -1450,10 +1453,12 @@ static void keypress_process(int keypress)
flag_change();
buffer_print();
break;
#ifdef BLOAT
case '_':
show_flag_status();
break;
#endif
#endif
#if ENABLE_FEATURE_LESS_BRACKETS
case '{': case '(': case '[':
match_right_bracket(keypress);