eliminated theory ProtoPure;
authorwenzelm
Thu, 27 Mar 2008 14:41:21 +0100
changeset 26433 9c2cdf28ecec
parent 26432 095e448b95a0
child 26434 d004b791218e
eliminated theory ProtoPure; renamed ML_Context.the_context to ML_Context.the_global_context;
src/Pure/Thy/present.ML
--- a/src/Pure/Thy/present.ML	Thu Mar 27 14:41:20 2008 +0100
+++ b/src/Pure/Thy/present.ML	Thu Mar 27 14:41:21 2008 +0100
@@ -83,7 +83,7 @@
 );
 
 fun get_info thy =
-  if member (op =) [Context.ProtoPureN, Context.PureN, Context.CPureN] (Context.theory_name thy)
+  if member (op =) [Context.PureN, Context.CPureN] (Context.theory_name thy)
   then {name = Context.PureN, session = [], is_local = false}
   else BrowserInfoData.get thy;
 
@@ -244,7 +244,7 @@
 val session_info = ref (NONE: session_info option);
 
 fun with_session x f = (case ! session_info of NONE => x | SOME info => f info);
-fun with_context f = f (Context.theory_name (ML_Context.the_context ()));
+fun with_context f = f (Context.theory_name (ML_Context.the_global_context ()));