discontinued broken no_warnings_CRITICAL -- global output channels must not be changed after startup initialization;
--- a/src/Pure/General/output.ML Fri Aug 27 21:22:07 2010 +0200
+++ b/src/Pure/General/output.ML Fri Aug 27 21:23:31 2010 +0200
@@ -45,7 +45,6 @@
val status: string -> unit
val report: string -> unit
val debugging: bool Unsynchronized.ref
- val no_warnings_CRITICAL: ('a -> 'b) -> 'a -> 'b
val debug: (unit -> string) -> unit
end;
@@ -113,8 +112,6 @@
fun legacy_feature s = warning ("Legacy feature! " ^ s);
-fun no_warnings_CRITICAL f = setmp_CRITICAL warning_fn (K ()) f;
-
val debugging = Unsynchronized.ref false;
fun debug s = if ! debugging then ! debug_fn (output (s ())) else ()