aboutsummaryrefslogtreecommitdiff
path: root/plugins/extraction
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-10-13 16:32:15 +0200
committerGaëtan Gilbert2019-10-14 10:24:26 +0200
commitc3479eceb8e07b37570a80bca9937e3520c61024 (patch)
tree136a1773ad9b1bd1cdecd3db26ca0cc64f4516cf /plugins/extraction
parent26e8b5a545bcf2209d56494ccf4afe143f761fd7 (diff)
Use kernel info from Global for Lib.sections_{depth,are_opened}
Diffstat (limited to 'plugins/extraction')
-rw-r--r--plugins/extraction/table.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/extraction/table.ml b/plugins/extraction/table.ml
index 96a3d00dc2..be9259861a 100644
--- a/plugins/extraction/table.ml
+++ b/plugins/extraction/table.ml
@@ -380,7 +380,7 @@ let check_inside_module () =
warn_extraction_inside_module ()
let check_inside_section () =
- if Lib.sections_are_opened () then
+ if Global.sections_are_opened () then
err (str "You can't do that within a section." ++ fnl () ++
str "Close it and try again.")