src/Tools/Code/code_printer.ML
changeset 39069 371976383ac0
parent 39062 9eb380ecf155
child 39531 49194c9b0dd4
--- a/src/Tools/Code/code_printer.ML	Thu Sep 02 16:53:23 2010 +0200
+++ b/src/Tools/Code/code_printer.ML	Thu Sep 02 16:53:23 2010 +0200
@@ -127,7 +127,8 @@
 fun doublesemicolon ps = Pretty.block [concat ps, str ";;"];
 fun indent i = Print_Mode.setmp [] (Pretty.indent i);
 
-fun markup_stmt name = Pretty.mark (code_presentationN, [(stmt_nameN, name)]);
+fun markup_stmt name = Print_Mode.setmp [code_presentationN]
+  (Pretty.mark (code_presentationN, [(stmt_nameN, name)]));
 
 fun filter_presentation presentation_names selected (XML.Elem ((name, attrs), xs)) =
       implode (map (filter_presentation presentation_names