--- a/src/Pure/Thy/sessions.scala Tue Aug 14 16:05:40 2018 +0100
+++ b/src/Pure/Thy/sessions.scala Wed Aug 15 13:21:14 2018 +0200
@@ -882,7 +882,8 @@
def directories(dirs: List[Path], select_dirs: List[Path]): List[(Boolean, Path)] =
{
val default_dirs = Isabelle_System.components().filter(is_session_dir(_))
- (default_dirs ::: dirs).map((false, _)) ::: select_dirs.map((true, _))
+ for { (select, dir) <- (default_dirs ::: dirs).map((false, _)) ::: select_dirs.map((true, _)) }
+ yield (select, dir.canonical)
}
def load_structure(options: Options,