src/Pure/Thy/export.ML
changeset 69650 c95edf19133b
parent 69648 97ddaec3e2ae
child 69784 24bbc4e30e5b
--- a/src/Pure/Thy/export.ML	Sun Jan 13 20:25:41 2019 +0100
+++ b/src/Pure/Thy/export.ML	Mon Jan 14 13:58:12 2019 +0100
@@ -8,8 +8,8 @@
 sig
   val export: theory -> string -> string list -> unit
   val export_raw: theory -> string -> string list -> unit
-  val markup_text: theory -> string -> Markup.T * string
-  val information: theory -> string -> unit
+  val markup: theory -> string -> Markup.T
+  val message: theory -> string -> string
 end;
 
 structure Export: EXPORT =
@@ -39,11 +39,11 @@
 
 (* information message *)
 
-fun markup_text thy s =
-  (Markup.theory_exports (Context.theory_long_name thy ^ (if s = "" then "" else "/" ^ s)),
-    "theory exports");
+fun markup thy s =
+  let val name = (Markup.nameN, Context.theory_long_name thy ^ (if s = "" then "" else "/" ^ s))
+  in Active.make_markup Markup.theory_exportsN {implicit = false, properties = [name]} end;
 
-fun information thy s =
-  Output.information ("See " ^ uncurry Markup.markup (markup_text thy s));
+fun message thy s =
+  "See " ^ Markup.markup (markup thy s) "theory exports";
 
 end;