src/Pure/Isar/toplevel.ML
changeset 29068 b92443a701de
parent 29066 f50c24e5b9fe
child 29122 b3bae49a013a
--- a/src/Pure/Isar/toplevel.ML	Thu Dec 11 17:32:37 2008 +0100
+++ b/src/Pure/Isar/toplevel.ML	Thu Dec 11 20:17:57 2008 +0100
@@ -739,7 +739,7 @@
       in (result, st'') end
   end;
 
-fun excursion input = exception_trace (fn () =>
+fun excursion input =
   let
     val end_pos = if null input then error "No input" else pos_of (fst (List.last input));
 
@@ -750,6 +750,6 @@
         State (NONE, SOME (Theory (Context.Theory _, _), _)) => ()
       | _ => error "Unfinished development at end of input");
     val results = maps Lazy.force future_results;
-  in (results, fn () => ignore (command (commit_exit end_pos) end_state)) end);
+  in (results, fn () => ignore (command (commit_exit end_pos) end_state)) end;
 
 end;