src/Pure/General/output.ML
changeset 43760 ef8375a4dae4
parent 43748 c70bd78ec83c
child 44270 3eaad39e520c
--- a/src/Pure/General/output.ML	Mon Jul 11 22:19:11 2011 +0200
+++ b/src/Pure/General/output.ML	Mon Jul 11 22:50:29 2011 +0200
@@ -96,9 +96,8 @@
   val prompt_fn = Unsynchronized.ref raw_stdout;
   val status_fn = Unsynchronized.ref (fn _: output => ());
   val report_fn = Unsynchronized.ref (fn _: output => ());
-  val raw_message_fn =
-    Unsynchronized.ref
-      (fn _: Properties.T => fn _: output => raise Fail "Output.raw_message undefined");
+  val raw_message_fn: (Properties.T -> output -> unit) Unsynchronized.ref =
+    Unsynchronized.ref (fn _ => fn _ => raise Fail "Output.raw_message undefined in TTY mode");
 end;
 
 fun writeln s = ! Private_Hooks.writeln_fn (output s);