summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index 53f980c1e97..ffe2b156712 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2654,7 +2654,7 @@ Normally the return value is FEATURE.")
noerror, Qt, Qnil, (NILP (file_name) ? Qt : Qnil));
/* If load failed entirely, return nil. */
if (NILP (tem))
- return Qnil;
+ return unbind_to (count, Qnil);
tem = Fmemq (feature, Vfeatures);
if (NILP (tem))