src/Pure/Thy/export_theory.ML
changeset 77979 a12c48fbf10f
parent 77970 31ea5c1f874d
child 79411 700d4f16b5f2
--- a/src/Pure/Thy/export_theory.ML	Sat May 06 14:49:54 2023 +0200
+++ b/src/Pure/Thy/export_theory.ML	Sat May 06 23:20:20 2023 +0200
@@ -463,7 +463,7 @@
       let
         val space = get_space thy;
         val export_name = "other/" ^ Name_Space.kind_of space;
-        val decls = Name_Space.decl_names space |> map (rpair ());
+        val decls = Name_Space.get_names space |> map (rpair ());
       in export_entities export_name get_space decls (fn _ => fn () => SOME (K [])) end;
 
     val other_spaces = other_name_spaces thy;