deleted incorrect code that set Goals.proof_timing:=false
authorpaulson
Mon, 05 Oct 1998 10:33:34 +0200
changeset 5615 9ea709aa275c
parent 5614 0e8b45a7d104
child 5616 497eeeace3fc
deleted incorrect code that set Goals.proof_timing:=false Also causes time_use_thy to set proof_timing:=true
src/Pure/Thy/thy_read.ML
--- a/src/Pure/Thy/thy_read.ML	Mon Oct 05 10:31:43 1998 +0200
+++ b/src/Pure/Thy/thy_read.ML	Mon Oct 05 10:33:34 1998 +0200
@@ -249,12 +249,7 @@
 	     (writeln ("Reading \"" ^ name ^ ".thy\"");
 	      init_thyinfo ();
 	      read_thy tname thy_file;
-              let val old_pt = ! Goals.proof_timing;
-	      in  (*suppress annoying messages during theory loading*)
-		  proof_timing := false;
-		  Use.use (out_name tname);
-                  proof_timing := old_pt
-                  end;
+	      Use.use (out_name tname);
 	      if not (!delete_tmpfiles) then ()
 	      else OS.FileSys.remove (out_name tname);
 	      thyfile2html tname abs_path)
@@ -294,7 +289,7 @@
 
 fun time_use_thy tname = timeit(fn()=>
    (writeln("\n**** Starting Theory " ^ tname ^ " ****");
-    use_thy tname;
+    setmp Goals.proof_timing true use_thy tname;
     writeln("\n**** Finished Theory " ^ tname ^ " ****"))
    );