src/Pure/Isar/isar_syn.ML
changeset 30461 00323c45ea83
parent 30344 10a67c5ddddb
child 30484 bc2a4dc6f1be
--- a/src/Pure/Isar/isar_syn.ML	Wed Mar 11 20:54:03 2009 +0100
+++ b/src/Pure/Isar/isar_syn.ML	Wed Mar 11 23:59:34 2009 +0100
@@ -318,8 +318,12 @@
     (P.ML_source >> (Toplevel.no_timing oo IsarCmd.ml_diag false));
 
 val _ =
-  OuterSyntax.command "setup" "apply ML theory setup" (K.tag_ml K.thy_decl)
-    (P.ML_source >> (Toplevel.theory o IsarCmd.generic_setup));
+  OuterSyntax.command "setup" "ML theory setup" (K.tag_ml K.thy_decl)
+    (P.ML_source >> (Toplevel.theory o IsarCmd.global_setup));
+
+val _ =
+  OuterSyntax.local_theory "local_setup" "ML local theory setup" (K.tag_ml K.thy_decl)
+    (P.ML_source >> IsarCmd.local_setup);
 
 val _ =
   OuterSyntax.command "method_setup" "define proof method in ML" (K.tag_ml K.thy_decl)