tuned;
authorwenzelm
Sun, 18 Mar 2012 13:37:11 +0100
changeset 47006 5ee8004e2151
parent 47005 421760a1efe7
child 47007 0dacedb4a948
tuned;
src/Pure/sign.ML
--- a/src/Pure/sign.ML	Sun Mar 18 13:04:22 2012 +0100
+++ b/src/Pure/sign.ML	Sun Mar 18 13:37:11 2012 +0100
@@ -204,8 +204,7 @@
 val naming_of = Name_Space.naming_of o Context.Theory;
 val map_naming = Context.theory_map o Name_Space.map_naming;
 val restore_naming = map_naming o K o naming_of;
-fun inherit_naming thy =
-  Context.Proof o Context.proof_map (Name_Space.map_naming (K (naming_of thy)));
+fun inherit_naming thy = Name_Space.map_naming (K (naming_of thy)) o Context.Proof;
 
 val full_name = Name_Space.full_name o naming_of;
 fun full_name_path thy path = Name_Space.full_name (Name_Space.add_path path (naming_of thy));