summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_thingy.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-06-12 10:10:23 +0100
committerPeter Stephenson <pws@zsh.org>2017-06-12 10:10:23 +0100
commitd5c22d356ba442fd5811e15cc35b5480008722f4 (patch)
treee99b29c9920f83da25e4c3bbb48409e83f73ffae /Src/Zle/zle_thingy.c
parent18aede9ee53df5e83c786e4fd81872df864dcd47 (diff)
downloadzsh-d5c22d356ba442fd5811e15cc35b5480008722f4.tar.gz
zsh-d5c22d356ba442fd5811e15cc35b5480008722f4.zip
41244: Add zmodload -s option.
Doesn't complain if module is unavailable, but prints more obscure errors. Use existing low-level silent flag by passing through intermediate module loading hierarchy.
Diffstat (limited to 'Src/Zle/zle_thingy.c')
-rw-r--r--Src/Zle/zle_thingy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c
index c003148f8..f7e9829c2 100644
--- a/Src/Zle/zle_thingy.c
+++ b/Src/Zle/zle_thingy.c
@@ -602,7 +602,7 @@ bin_zle_complete(char *name, char **args, UNUSED(Options ops), UNUSED(char func)
Thingy t;
Widget w, cw;
- if (require_module("zsh/complete", NULL) == 1) {
+ if (require_module("zsh/complete", NULL, 0) == 1) {
zwarnnam(name, "can't load complete module");
return 1;
}