aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/expand.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-08-03 16:36:10 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-08-08 13:55:50 -0700
commit602e9cebd9b3d8feb80c338d80bce570077239ba (patch)
tree1aeb0779d9aab086c891f822117abf7ad64b4fc9 /src/expand.h
parentd2049edcab6b2046b7e3e01b4a48f2e13f2aa878 (diff)
rename FOR_COMPLETIONS to EXPAND_FOR_COMPLETIONS
This is yet clearer
Diffstat (limited to 'src/expand.h')
-rw-r--r--src/expand.h7
1 files changed, 2 insertions, 5 deletions
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,