add dynamic fact binding;
authorwenzelm
Tue, 25 Mar 2008 21:01:03 +0100
changeset 26397 df68e8dfd0e3
parent 26396 e44c5a1a47bd
child 26398 fccb74555d9e
add dynamic fact binding;
src/Pure/Tools/named_thms.ML
--- a/src/Pure/Tools/named_thms.ML	Tue Mar 25 21:01:02 2008 +0100
+++ b/src/Pure/Tools/named_thms.ML	Tue Mar 25 21:01:03 2008 +0100
@@ -39,7 +39,8 @@
 val del = Thm.declaration_attribute del_thm;
 
 val setup =
-  Attrib.add_attributes [(name, Attrib.add_del_args add del, "declaration of " ^ description)];
+  Attrib.add_attributes [(name, Attrib.add_del_args add del, "declaration of " ^ description)] #>
+  PureThy.add_thms_dynamic (name, Data.get);
 
 val _ =
   OuterSyntax.improper_command ("print_" ^ name ^ "_rules") ("print " ^ description)