src/Pure/Thy/present.ML
changeset 26433 9c2cdf28ecec
parent 26323 73efc70edeef
child 26957 e3f04fdd994d
--- 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 ()));