* psyntax.ss (top-level-eval-hook, local-eval-hook): Pass
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Sun, 13 Aug 2000 19:21:04 +0000 (19:21 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Sun, 13 Aug 2000 19:21:04 +0000 (19:21 +0000)
`(interaction-environment)' as second arg to `eval'.  This is
completely equivalent with the state before the change to eval of
2000-08-11, but we should extend psyntax.ss to be module aware.
(Thanks to Ian Bicking.)

ice-9/psyntax.ss

index f45ac91..fc4178e 100644 (file)
 
 (define top-level-eval-hook
   (lambda (x)
-    (eval `(,noexpand ,x))))
+    (eval `(,noexpand ,x) (interaction-environment))))
 
 (define local-eval-hook
   (lambda (x)
-    (eval `(,noexpand ,x))))
+    (eval `(,noexpand ,x) (interaction-environment))))
 
 (define error-hook
   (lambda (who why what)