removed somewhat pointless warning;
authorwenzelm
Fri, 08 Dec 2017 16:02:44 +0100
changeset 67163 257bcd20eeec
parent 67162 0050cd50936d
child 67164 39f57f0757f1
removed somewhat pointless warning;
src/Pure/Thy/thy_info.ML
--- a/src/Pure/Thy/thy_info.ML	Fri Dec 08 15:03:54 2017 +0100
+++ b/src/Pure/Thy/thy_info.ML	Fri Dec 08 16:02:44 2017 +0100
@@ -266,8 +266,7 @@
       let
         val res = filter_out (Toplevel.is_ignored o #1) (maps Toplevel.join_results results);
       in
-        if exists (Toplevel.is_skipped_proof o #2) res then
-          warning ("Cannot present theory with skipped proofs: " ^ quote name)
+        if exists (Toplevel.is_skipped_proof o #2) res then ()
         else
           let val tex_source = Thy_Output.present_thy thy res toks |> Buffer.content;
           in if document then Present.theory_output thy tex_source else () end