transaction: Theory.copy;
authorwenzelm
Tue, 04 May 1999 13:32:53 +0200
changeset 6574 a91b4cfd3104
parent 6573 0fc9763762be
child 6575 70d758762c50
transaction: Theory.copy;
src/Pure/pure_thy.ML
--- a/src/Pure/pure_thy.ML	Tue May 04 13:32:35 1999 +0200
+++ b/src/Pure/pure_thy.ML	Tue May 04 13:32:53 1999 +0200
@@ -372,7 +372,7 @@
     val {name, generation} = get_info thy;
     val copy_thy =
       thy
-      |> Theory.prep_ext
+      |> Theory.copy
       |> Theory.add_name ("#" ^ name ^ ":" ^ string_of_int generation)  (* FIXME !!?? *)
       |> put_info {name = name, generation = generation + 1};
     val (thy', opt_exn) = (transform_error f thy, None) handle exn => (thy, Some exn);