--- 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;