src/Pure/PIDE/markup.ML
changeset 62933 f14569a9ab93
parent 62806 de9bf8171626
child 63337 ae9330fdbc16
--- a/src/Pure/PIDE/markup.ML	Sat Apr 09 19:30:15 2016 +0200
+++ b/src/Pure/PIDE/markup.ML	Sat Apr 09 19:38:25 2016 +0200
@@ -212,7 +212,6 @@
   val simp_trace_ignoreN: string
   val simp_trace_cancel: serial -> Properties.T
   val no_output: Output.output * Output.output
-  val default_output: T -> Output.output * Output.output
   val add_mode: string -> (T -> Output.output * Output.output) -> unit
   val output: T -> Output.output * Output.output
   val enclose: T -> Output.output -> Output.output
@@ -683,10 +682,9 @@
 (** print mode operations **)
 
 val no_output = ("", "");
-fun default_output (_: T) = no_output;
 
 local
-  val default = {output = default_output};
+  val default = {output = Output_Primitives.markup_fn};
   val modes = Synchronized.var "Markup.modes" (Symtab.make [("", default)]);
 in
   fun add_mode name output =