del: hide in name space;
authorwenzelm
Sat, 15 Mar 2008 22:07:31 +0100
changeset 26290 e025bf1cc0f1
parent 26289 9d2c375e242b
child 26291 d01bf7b10c75
del: hide in name space;
src/Pure/facts.ML
--- a/src/Pure/facts.ML	Sat Mar 15 22:07:29 2008 +0100
+++ b/src/Pure/facts.ML	Sat Mar 15 22:07:31 2008 +0100
@@ -77,6 +77,9 @@
   in make_facts facts' props' end;
 
 fun del name (Facts {facts = (space, tab), props}) =
-  make_facts (space, Symtab.delete_safe name tab) props;
+  let
+    val space' = NameSpace.hide true name space handle ERROR _ => space;
+    val tab' = Symtab.delete_safe name tab;
+  in make_facts (space', tab') props end;
 
 end;