diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-16 10:57:11 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-16 10:57:11 +0000 |
commit | 15996aeeecedf3b94447213ea4c473650cf8afb4 (patch) | |
tree | 20970d3968f18652f48047b42c4bc068fb4af35b /Src/Zle/compcore.c | |
parent | d5980018d5423274e4beb771974f4c935b309241 (diff) | |
download | zsh-15996aeeecedf3b94447213ea4c473650cf8afb4.tar.gz zsh-15996aeeecedf3b94447213ea4c473650cf8afb4.tar.xz zsh-15996aeeecedf3b94447213ea4c473650cf8afb4.zip |
zsh-workers/9759
Diffstat (limited to 'Src/Zle/compcore.c')
-rw-r--r-- | Src/Zle/compcore.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index feadfa3b1..0908fb120 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -844,6 +844,9 @@ makecomplist(char *s, int incmd, int lst) callcompfunc(s, compfunc); endcmgroup(NULL); + /* Needed for compcall. */ + runhookdef(COMPCTLCLEANUPHOOK, NULL); + if (oldlist) { nmatches = onm; validlist = 1; @@ -892,6 +895,9 @@ makecomplist(char *s, int incmd, int lst) dat.lst = lst; runhookdef(COMPCTLMAKEHOOK, (void *) &dat); + /* Needed for compcall. */ + runhookdef(COMPCTLCLEANUPHOOK, NULL); + return dat.lst; } } |