aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-08 00:15:06 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-08 00:15:06 -0800
commit191eeab58906e49a8863c60ac0324f722bdfa17c (patch)
tree1209081a15ea1c679eb287bc01a7de21ceaa365a /complete.cpp
parent3f8621e566e409c522b858ced125b204aea5620b (diff)
Cleanup expand_escape_variable
Diffstat (limited to 'complete.cpp')
-rw-r--r--complete.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/complete.cpp b/complete.cpp
index 0f18db6b..c0c3095d 100644
--- a/complete.cpp
+++ b/complete.cpp
@@ -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,