src/Pure/Isar/keyword.ML
changeset 46123 aa5c367ee579
parent 45666 d83797ef0d2d
child 46774 38f113b052b1
--- a/src/Pure/Isar/keyword.ML	Thu Jan 05 14:34:18 2012 +0100
+++ b/src/Pure/Isar/keyword.ML	Thu Jan 05 14:48:41 2012 +0100
@@ -151,17 +151,17 @@
 
 val keyword_statusN = "keyword_status";
 
-fun status_message s =
+fun status_message m s =
   Position.setmp_thread_data Position.none
-    (if print_mode_active keyword_statusN then Output.status else writeln) s;
+    (if print_mode_active keyword_statusN then Output.raw_message m else writeln) s;
 
 fun keyword_status name =
-  status_message (Markup.markup (Isabelle_Markup.keyword_decl name)
-    ("Outer syntax keyword: " ^ quote name));
+  status_message (Isabelle_Markup.keyword_decl name)
+    ("Outer syntax keyword: " ^ quote name);
 
 fun command_status (name, kind) =
-  status_message (Markup.markup (Isabelle_Markup.command_decl name (kind_of kind))
-    ("Outer syntax command: " ^ quote name ^ " (" ^ kind_of kind ^ ")"));
+  status_message (Isabelle_Markup.command_decl name (kind_of kind))
+    ("Outer syntax command: " ^ quote name ^ " (" ^ kind_of kind ^ ")");
 
 fun status () =
   let val (keywords, commands) = CRITICAL (fn () =>