proper session_options (amending da13da82f6f9);
authorwenzelm
Sat, 14 Jan 2023 19:36:02 +0100
changeset 76970 7d23555fda83
parent 76969 d1fbd04a976e
child 76971 d1776c5ddc93
proper session_options (amending da13da82f6f9);
src/Pure/Tools/update.scala
--- a/src/Pure/Tools/update.scala	Sat Jan 14 19:29:14 2023 +0100
+++ b/src/Pure/Tools/update.scala	Sat Jan 14 19:36:02 2023 +0100
@@ -93,6 +93,7 @@
         if build_results(session).ok && !exclude(session)
       } {
         progress.echo("Session " + session + " ...")
+        val session_options = sessions_structure(session).options
         val proper_session_theory =
           build_results.deps(session).proper_session_theories.map(_.theory).toSet
         using(database_context.open_session0(session)) { session_context =>
@@ -111,7 +112,7 @@
             } {
               progress.expose_interrupt()
               val xml = snapshot.xml_markup(elements = update_elements)
-              val source1 = XML.content(update_xml(options, xml))
+              val source1 = XML.content(update_xml(session_options, xml))
               if (source1 != snapshot.node.source) {
                 val path = Path.explode(node_name.node)
                 progress.echo("Updating " + quote(File.standard_path(path)))