aboutsummaryrefslogtreecommitdiff
path: root/Src/Zle/zle_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/zle_main.c')
-rw-r--r--Src/Zle/zle_main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 7a5d0d7db..4d9c99f87 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -579,12 +579,7 @@ execzlefunc(Thingy func)
if(!(wflags & ZLE_KEEPSUFFIX))
removesuffix();
- if(!(wflags & ZLE_MENUCMP) ||
- ((wflags & WIDGET_NCOMP) && compwidget != w)) {
- /* If we are doing a special completion, and the widget
- * is not the one currently in use for special completion,
- * we are starting a new completion.
- */
+ if(!(wflags & ZLE_MENUCMP)) {
fixsuffix();
invalidatelist();
}