src/Pure/Isar/proof_context.ML
changeset 26309 fb52fe23acc4
parent 26284 533dcb120a8e
child 26321 d875e70a94de
--- a/src/Pure/Isar/proof_context.ML	Mon Mar 17 20:51:16 2008 +0100
+++ b/src/Pure/Isar/proof_context.ML	Mon Mar 17 20:51:23 2008 +0100
@@ -838,7 +838,7 @@
 
 fun update_thms _ (bname, NONE) ctxt = ctxt |> map_facts (Facts.del (full_name ctxt bname))
   | update_thms do_props (bname, SOME ths) ctxt = ctxt |> map_facts
-      (Facts.add do_props (naming_of ctxt) (full_name ctxt bname, ths));
+      (Facts.add_local do_props (naming_of ctxt) (full_name ctxt bname, ths));
 
 fun put_thms do_props thms ctxt =
   ctxt |> map_naming (K local_naming) |> update_thms do_props thms |> restore_naming ctxt;