Cleanup expand_escape_variable

This commit is contained in:
ridiculousfish
2012-02-08 00:15:06 -08:00
parent 3f8621e566
commit 191eeab589
4 changed files with 28 additions and 52 deletions

View File

@@ -203,8 +203,6 @@ void completion_autoload_t::command_removed(const wcstring &cmd) {
}
static void complete_free_entry( complete_entry_t *c );
/**
Create a new completion entry
@@ -1594,7 +1592,7 @@ static int complete_variable( const wchar_t *whole_var,
flags = COMPLETE_NO_CASE | COMPLETE_DONT_ESCAPE;
}
wcstring value = expand_escape_variable2( value_unescaped );
wcstring value = expand_escape_variable( value_unescaped );
wcstring desc = format_string(COMPLETE_VAR_DESC_VAL, value.c_str());
completion_allocate( comp_list,