src/Pure/Isar/proof_display.ML
changeset 51601 8e80ecfa3652
parent 51584 98029ceda8ce
child 51958 bca32217b304
--- a/src/Pure/Isar/proof_display.ML	Wed Apr 03 10:15:43 2013 +0200
+++ b/src/Pure/Isar/proof_display.ML	Wed Apr 03 13:58:00 2013 +0200
@@ -113,9 +113,9 @@
 
 fun pretty_goal_facts ctxt s ths =
   (Pretty.block o Pretty.fbreaks)
-    ((if s = "" then Pretty.str "this:"
-      else Pretty.block [Pretty.command s, Pretty.brk 1, Pretty.str "this:"]) ::
-      map (Display.pretty_thm_item ctxt) ths);
+    [if s = "" then Pretty.str "this:"
+     else Pretty.block [Pretty.command s, Pretty.brk 1, Pretty.str "this:"],
+     Proof_Context.pretty_fact ctxt ("", ths)];
 
 
 (* method_error *)