src/Pure/ProofGeneral/proof_general_emacs.ML
changeset 38228 ada3ab6b9085
parent 37981 9a15982f41fe
child 38236 d8c7be27e01d
equal deleted inserted replaced
38227:6bbb42843b6e 38228:ada3ab6b9085
    31 
    31 
    32 local
    32 local
    33 
    33 
    34 fun render_trees ts = fold render_tree ts
    34 fun render_trees ts = fold render_tree ts
    35 and render_tree (XML.Text s) = Buffer.add s
    35 and render_tree (XML.Text s) = Buffer.add s
    36   | render_tree (XML.Elem (name, props, ts)) =
    36   | render_tree (XML.Elem ((name, props), ts)) =
    37       let
    37       let
    38         val (bg1, en1) =
    38         val (bg1, en1) =
    39           if name <> Markup.promptN andalso print_mode_active test_markupN
    39           if name <> Markup.promptN andalso print_mode_active test_markupN
    40           then XML.output_markup (name, props)
    40           then XML.output_markup (name, props)
    41           else Markup.no_output;
    41           else Markup.no_output;