diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-29 14:16:02 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-29 14:16:02 +0000 |
commit | 29b7123647bc3b70911bbb2caf85238d22d160c8 (patch) | |
tree | 7385597437e723b4471a6bd1061a5a2fdd2b7017 /Src/params.c | |
parent | 3fbbdf245b7367c4b34492b630450c004a43eed7 (diff) | |
download | zsh-29b7123647bc3b70911bbb2caf85238d22d160c8.tar.gz zsh-29b7123647bc3b70911bbb2caf85238d22d160c8.tar.xz zsh-29b7123647bc3b70911bbb2caf85238d22d160c8.zip |
23485: feature completion and autoloading
Diffstat (limited to 'Src/params.c')
-rw-r--r-- | Src/params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/params.c b/Src/params.c index 31a65811f..128d28e75 100644 --- a/Src/params.c +++ b/Src/params.c @@ -419,7 +419,7 @@ getparamnode(HashTable ht, char *nam) if (pm && pm->u.str && (pm->node.flags & PM_AUTOLOAD)) { char *mn = dupstring(pm->u.str); - if (load_module(mn, NULL) == 1) + if (ensurefeature(mn, "p:", nam)) return NULL; hn = gethashnode2(ht, nam); if (((Param) hn) == pm && (pm->node.flags & PM_AUTOLOAD)) { |