aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/mltop.ml
diff options
context:
space:
mode:
authorGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2014-04-06 10:51:59 +0200
committerGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2014-04-06 12:13:37 +0200
commiteba6b7599bcad6c1da995f1d551b930727a9fc34 (patch)
treeb75e7b59b849b40cbdc110d5bc901fb3f071fae5 /toplevel/mltop.ml
parent076954ad3dcea6e7e7a42806273c3ca1b09135c6 (diff)
Change handling of loadpath and mlpath.
- Option -I no longer handles loadpath, only mlpath. This is the same behavior as coq_makefile. Option -I-as is unchanged. - Option -R no longer recursively adds to mlpath; only the root directory is added. - user-contrib/ and xdg directories are no longer recursively added to the loadpath. - theories/ and plugins/ are no longer recursively added to the loadpath when option -nois is passed. - All the preconfigured directories are still recursively added to the mlpath though.
Diffstat (limited to 'toplevel/mltop.ml')
-rw-r--r--toplevel/mltop.ml1
1 files changed, 0 insertions, 1 deletions
diff --git a/toplevel/mltop.ml b/toplevel/mltop.ml
index e0cb2209d..cc9aa59aa 100644
--- a/toplevel/mltop.ml
+++ b/toplevel/mltop.ml
@@ -178,7 +178,6 @@ let add_rec_path ~unix_path ~coq_root =
with Exit -> None
in
let dirs = List.map_filter convert_dirs dirs in
- let () = List.iter (fun lpe -> add_ml_dir (fst lpe)) dirs in
let () = add_ml_dir unix_path in
let add (path, dir) = Loadpath.add_load_path path false dir in
let () = List.iter add dirs in