From 602e9cebd9b3d8feb80c338d80bce570077239ba Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 3 Aug 2015 16:36:10 -0700 Subject: rename FOR_COMPLETIONS to EXPAND_FOR_COMPLETIONS This is yet clearer --- src/expand.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/expand.h') diff --git a/src/expand.h b/src/expand.h index 94f2c98c..a6b287f4 100644 --- a/src/expand.h +++ b/src/expand.h @@ -36,12 +36,9 @@ enum EXPAND_SKIP_WILDCARDS = 1 << 2, /** - Incomplete matches in the last segment are ok (for tab - completion). An incomplete match is a wildcard that matches a - prefix of the filename. If accept_incomplete is true, only the - remainder of the string is returned. + The expansion is being done for tab or auto completions. Returned completions may have the wildcard as a prefix instead of a match. */ - FOR_COMPLETIONS = 1 << 3, + EXPAND_FOR_COMPLETIONS = 1 << 3, /** Only match files that are executable by the current user. Only applicable together with ACCEPT_INCOMPLETE. */ EXECUTABLES_ONLY = 1 << 4, -- cgit v1.2.3