src/Pure/Thy/html.scala
changeset 72376 04bce3478688
parent 72375 e48d93811ed7
child 72622 830222403681
--- a/src/Pure/Thy/html.scala	Mon Oct 05 21:15:58 2020 +0200
+++ b/src/Pure/Thy/html.scala	Mon Oct 05 22:07:25 2020 +0200
@@ -383,11 +383,8 @@
       fonts_css(make_url) + "\n\n" + File.read(isabelle_css))
   }
 
-  def init_dir(dir: Path)
-  {
-    Isabelle_System.make_directory(dir)
-    write_isabelle_css(dir)
-  }
+  def init_dir(dir: Path): Unit =
+    write_isabelle_css(Isabelle_System.make_directory(dir))
 
   def write_document(dir: Path, name: String, head: XML.Body, body: XML.Body,
     css: String = isabelle_css.file_name,