src/Pure/Isar/attrib.ML
changeset 26463 9283b4185fdf
parent 26435 bdce320cd426
child 26685 40aefd1e8f05
--- a/src/Pure/Isar/attrib.ML	Fri Mar 28 19:43:54 2008 +0100
+++ b/src/Pure/Isar/attrib.ML	Fri Mar 28 20:02:04 2008 +0100
@@ -276,7 +276,7 @@
 
 (* theory setup *)
 
-val _ = Context.>>
+val _ = Context.>> (Context.map_theory
  (add_attributes
    [("attribute", internal_att, "internal attribute"),
     ("tagged", tagged, "tagged theorem"),
@@ -301,7 +301,7 @@
     ("rule_format", rule_format, "result put into standard rule format"),
     ("rotated", rotated, "rotated theorem premises"),
     ("defn", add_del_args LocalDefs.defn_add LocalDefs.defn_del,
-      "declaration of definitional transformations")]);
+      "declaration of definitional transformations")]));
 
 
 
@@ -379,12 +379,12 @@
 
 (* theory setup *)
 
-val _ = Context.>>
+val _ = Context.>> (Context.map_theory
  (register_config Unify.trace_bound_value #>
   register_config Unify.search_bound_value #>
   register_config Unify.trace_simp_value #>
   register_config Unify.trace_types_value #>
-  register_config MetaSimplifier.simp_depth_limit_value);
+  register_config MetaSimplifier.simp_depth_limit_value));
 
 end;