src/Pure/Tools/find_theorems.ML
changeset 56908 734f7e6151c9
parent 56891 48899c43b07d
child 56912 293cd4dcfebc
--- a/src/Pure/Tools/find_theorems.ML	Thu May 08 11:47:38 2014 +0200
+++ b/src/Pure/Tools/find_theorems.ML	Thu May 08 13:47:17 2014 +0200
@@ -484,13 +484,12 @@
              else ""));
   in
     Pretty.block
-      (Pretty.keyword1 "find_theorems" :: Pretty.brk 1 :: Pretty.str "query:" :: Pretty.fbrk ::
-        Pretty.fbreaks (map (pretty_criterion ctxt) criteria)) ::
+      (Pretty.fbreaks (Pretty.keyword1 "find_theorems" :: map (pretty_criterion ctxt) criteria)) ::
     Pretty.str "" ::
-    (if null theorems then [Pretty.str "nothing found"]
+    (if null theorems then [Pretty.str "found nothing"]
      else
-      [Pretty.str (tally_msg ^ ":"), Pretty.str ""] @
-        grouped 10 Par_List.map (Pretty.item o single o pretty_thm ctxt) (rev theorems))
+       Pretty.str (tally_msg ^ ":") ::
+       grouped 10 Par_List.map (Pretty.item o single o pretty_thm ctxt) (rev theorems))
   end |> Pretty.fbreaks |> curry Pretty.blk 0;
 
 end;