diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2015-10-07 18:59:41 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-10-07 18:59:41 -0700 |
commit | d9d2f61ba6ecb9ac26bfbc0d1e52e899a60971c5 (patch) | |
tree | 58e0664ad3c1fd73af0305632f49e20d69bd717b /src/complete.h | |
parent | 434eabb7878178a095b8508ccbf5d232461e8d95 (diff) |
When autoloading a completion, also autoload the function
Fixes a case where a --wraps declaration would be missed
because the function would not be loaded. Fixes #2466.
Diffstat (limited to 'src/complete.h')
-rw-r--r-- | src/complete.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/complete.h b/src/complete.h index 2083517e..e69e89cf 100644 --- a/src/complete.h +++ b/src/complete.h @@ -235,19 +235,6 @@ bool complete_is_valid_argument(const wcstring &str, /** - Load command-specific completions for the specified command. This - is done automatically whenever completing any given command, so - there is no need to call this except in the case of completions - with internal dependencies. - - \param cmd the command for which to load command-specific completions - \param reload should the commands completions be reloaded, even if they where - previously loaded. (This is set to true on actual completions, so that - changed completion are updated in running shells) -*/ -void complete_load(const wcstring &cmd, bool reload); - -/** Create a new completion entry \param completions The array of completions to append to |