src/Pure/Thy/thy_info.ML
changeset 68182 fa3cf61121ee
parent 68181 34592bf86424
child 68184 6c693b2700b3
--- a/src/Pure/Thy/thy_info.ML	Mon May 14 14:30:13 2018 +0200
+++ b/src/Pure/Thy/thy_info.ML	Mon May 14 16:00:10 2018 +0200
@@ -51,7 +51,7 @@
 
 val _ =
   Theory.setup (add_presentation (fn {options, pos, segments} => fn thy =>
-    if exists (Toplevel.is_skipped_proof o #result_state) segments then ()
+    if exists (Toplevel.is_skipped_proof o #state) segments then ()
     else
       let
         val body = Thy_Output.present_thy thy segments;
@@ -319,7 +319,7 @@
     fun present () =
       let
         val segments = (spans ~~ maps Toplevel.join_results results)
-          |> map (fn (span, (tr, st')) => {span = span, tr = tr, result_state = st'});
+          |> map (fn (span, (tr, st')) => {span = span, command = tr, state = st'});
         val context = {options = options, pos = text_pos, segments = segments};
       in apply_presentation context thy end;
   in (thy, present, size text) end;