init_message: class markup in message body, not header;
authorwenzelm
Sun, 24 Aug 2008 18:57:43 +0200
changeset 27986 26e1a7a6695d
parent 27985 fb774d10ea4c
child 27987 c3f7fa72af2a
init_message: class markup in message body, not header;
src/Pure/Tools/isabelle_process.ML
--- a/src/Pure/Tools/isabelle_process.ML	Sun Aug 24 18:11:20 2008 +0200
+++ b/src/Pure/Tools/isabelle_process.ML	Sun Aug 24 18:57:43 2008 +0200
@@ -85,11 +85,10 @@
 
 fun init_message () =
   let
-    val class = (Markup.classN, Markup.initN);
     val pid = (Markup.pidN, string_of_pid (Posix.ProcEnv.getpid ()));
     val session = (Markup.sessionN, List.last (Session.id ()) handle List.Empty => "unknown");
-    val props = message_props [class, pid, session];
-  in Output.writeln_default (special "H" ^ props ^ Session.welcome () ^ special_end) end;
+    val text = message_text Markup.initN [XML.Text (Session.welcome ())];
+  in Output.writeln_default (special "H" ^ message_props [pid, session] ^ text ^ special_end) end;
 
 end;