src/Pure/General/output.ML
changeset 32966 5b21661fe618
parent 32738 15bb09ca0378
child 37784 1d639d28832c
--- a/src/Pure/General/output.ML	Sat Oct 17 15:55:57 2009 +0200
+++ b/src/Pure/General/output.ML	Sat Oct 17 15:57:51 2009 +0200
@@ -44,7 +44,7 @@
   val prompt: string -> unit
   val status: string -> unit
   val debugging: bool Unsynchronized.ref
-  val no_warnings: ('a -> 'b) -> 'a -> 'b
+  val no_warnings_CRITICAL: ('a -> 'b) -> 'a -> 'b
   val debug: (unit -> string) -> unit
 end;
 
@@ -112,7 +112,7 @@
 fun legacy_feature s =
   (if ! tolerate_legacy_features then warning else error) ("Legacy feature! " ^ s);
 
-fun no_warnings f = setmp warning_fn (K ()) f;
+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 ()