src/Pure/Isar/proof.ML
changeset 29448 34b9652b2f45
parent 29435 a5f84ac14609
child 29581 b3b33e0298eb
--- a/src/Pure/Isar/proof.ML	Sun Jan 11 17:34:02 2009 +0100
+++ b/src/Pure/Isar/proof.ML	Sun Jan 11 18:18:35 2009 +0100
@@ -1041,7 +1041,7 @@
 local
 
 fun future_terminal_proof proof1 proof2 meths int state =
-  if int orelse is_relevant state orelse not (Future.enabled () andalso ! Goal.parallel_proofs)
+  if int orelse is_relevant state orelse not (Goal.future_enabled ())
   then proof1 meths state
   else snd (state |> proof2 (fn state' => Future.fork_pri ~1 (fn () => ((), proof1 meths state'))));