Bugfix assq_ref_cache for running without environment cache.
[mes.git] / mes.c
diff --git a/mes.c b/mes.c
index 8249ae4dd18d98ef0136a566007c39d6a915bc8c..19ffbfdaf9d9313cbe1c038186517c43c318f29a 100644 (file)
--- a/mes.c
+++ b/mes.c
@@ -250,7 +250,7 @@ scm *
 assq_ref_cache (scm *x, scm *a)
 {
   x = assq (x, a);
-  if (x == &scm_f) return &scm_f;
+  if (x == &scm_f) return &scm_undefined;
   return x->cdr;
 }
 scm*cache_invalidate (scm*x){}