--- a/src/Pure/Isar/outer_syntax.ML Thu Feb 04 18:15:53 1999 +0100
+++ b/src/Pure/Isar/outer_syntax.ML Thu Feb 04 18:16:22 1999 +0100
@@ -214,8 +214,7 @@
if is_old_theory (src, pos) then ThySyn.load_thy name (Source.exhaust src)
else (Toplevel.excursion (parse_thy (src, pos))
handle exn => error (Toplevel.exn_message exn));
- val theory = ThyInfo.get_theory name;
- in Context.setmp theory try_ml_file name ml end;
+ in Context.context (ThyInfo.get_theory name); try_ml_file name ml end;
fun load_thy name ml time path =
if not time then read_thy name ml path