Plugin unload remove cmd_acs and close window

This commit is contained in:
James Booth
2016-07-05 22:46:00 +01:00
parent 82458c9d96
commit 1926ceea3d
7 changed files with 75 additions and 7 deletions

View File

@@ -787,6 +787,14 @@ cmd_ac_remove(const char *const value)
}
}
void
cmd_ac_remove_help(const char *const value)
{
if (help_ac) {
autocomplete_remove(help_ac, value);
}
}
gboolean
cmd_ac_exists(char *cmd)
{

View File

@@ -48,6 +48,7 @@ void cmd_ac_add_alias(ProfAlias *alias);
void cmd_ac_add_alias_value(char *value);
void cmd_ac_remove(const char *const value);
void cmd_ac_remove_help(const char *const value);
void cmd_ac_remove_alias_value(char *value);
gboolean cmd_ac_exists(char *cmd);