src/Pure/Tools/print_operation.ML
changeset 56868 b5fb264d53ba
parent 56867 224109105008
child 56887 1ca814da47ae
--- a/src/Pure/Tools/print_operation.ML	Mon May 05 16:30:19 2014 +0200
+++ b/src/Pure/Tools/print_operation.ML	Mon May 05 17:14:46 2014 +0200
@@ -69,14 +69,12 @@
     (Pretty.string_of o Pretty.chunks o Proof_Context.pretty_cases o Toplevel.context_of);
 
 val _ =
-  register "binds" "term bindings of proof context"
+  register "terms" "term bindings of proof context"
     (Pretty.string_of o Pretty.chunks o Proof_Context.pretty_binds o Toplevel.context_of);
 
 val _ =
-  register "facts" "facts of proof context"
-    (fn st =>
-      Proof_Context.pretty_local_facts (Toplevel.context_of st) false
-      |> Pretty.chunks |> Pretty.string_of);
+  register "theorems" "theorems of local theory or proof context"
+    (Pretty.string_of o Isar_Cmd.pretty_theorems false);
 
 val _ =
   register "state" "proof state"