aboutsummaryrefslogtreecommitdiffhomepage
path: root/library
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-07-23 10:00:11 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-07-23 10:00:11 +0000
commite8a6cf51f9671c92b90cc84473d84526e69173c8 (patch)
tree19ee543495f1fe08f6d68d268d5cd957aea8e760 /library
parentf11fc1871babffd64e9d3be99197f91a0dfc8b69 (diff)
Some fine-tuning after removal of automatic imports of coercions in r13310
- Moved Global Set from Keep to Substitute to ensure it is activated in real time and not only after the main parts of the module - Renamed Importation into Import in option name - Made "Print Libraries" prints the modules in the importation order (which is the most relevant order for non-commutative declarations) instead of load order git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13318 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library')
-rw-r--r--library/goptions.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/goptions.ml b/library/goptions.ml
index 75771a52e..5b1819598 100644
--- a/library/goptions.ml
+++ b/library/goptions.ml
@@ -249,7 +249,7 @@ let declare_option cast uncast
let (gdecl_obj,_) = (* "Global": survives section and modules. *)
declare_object {(default_object ("G "^nickname key)) with
cache_function = (fun (_,v) -> write v);
- classify_function = (fun v -> Keep v);
+ classify_function = (fun v -> Substitute v);
discharge_function = (fun (_,v) -> Some v);
load_function = (fun _ (_,v) -> write v)}
in