aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/lib.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/lib.ml b/library/lib.ml
index 9f3ec4f5d6..5995a9600d 100644
--- a/library/lib.ml
+++ b/library/lib.ml
@@ -121,6 +121,8 @@ let open_section id =
if Nametab.exists_section dir then
errorlabstrm "open_section" [< pr_id id; 'sTR " already exists" >];
add_entry sp (OpenedSection (id, freeze_summaries()));
+ (*Pushed for the lifetime of the section: removed by unfrozing the summary*)
+ Nametab.push_section dir;
path_prefix := dir;
sp