src/Pure/Interface/proof_general.ML
changeset 7610 c803ba5347fd
parent 7597 4fbdb8a0c378
child 7893 fef0738b62d7
--- a/src/Pure/Interface/proof_general.ML	Sun Sep 26 16:38:21 1999 +0200
+++ b/src/Pure/Interface/proof_general.ML	Sun Sep 26 16:38:50 1999 +0200
@@ -166,14 +166,7 @@
 
 (* some top-level commands for ProofGeneral/isa *)
 
-fun prt_thm (a, th) =
-  Pretty.block [Pretty.str (a ^ ":"), Pretty.brk 1,
-    Display.pretty_thm_no_quote (#1 (Drule.freeze_thaw th))];
-
-fun thms_containing cs =
-  Pretty.blk (0, Pretty.fbreaks (map prt_thm (ThmDatabase.thms_containing cs)))
-  |> Pretty.writeln;
-
+fun thms_containing cs = ThmDatabase.print_thms_containing (the_context ()) cs;
 
 val help = writeln o Session.welcome;
 val show_context = Context.the_context;