summaryrefslogtreecommitdiffstats
path: root/autoload.c
diff options
context:
space:
mode:
Diffstat (limited to 'autoload.c')
-rw-r--r--autoload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload.c b/autoload.c
index 32e24e5c..1f513829 100644
--- a/autoload.c
+++ b/autoload.c
@@ -1147,7 +1147,7 @@ static val autoload_try(al_ns_t ns, val sym)
dyn_env = make_env(nil, nil, dyn_env);
env_vbind(dyn_env, package_s, system_package);
env_vbind(dyn_env, package_alist_s, packages);
- env_vbind(dyn_env, expand_hook, nil);
+ env_vbind(dyn_env, expand_hook_s, nil);
opt_compat = 0;
funcall(fun);
opt_compat = saved_compat;