src/Pure/Thy/sessions.scala
changeset 67286 417e081322ae
parent 67284 0094d938c53b
child 67290 98b6cd12f963
--- a/src/Pure/Thy/sessions.scala	Thu Dec 28 12:20:52 2017 +0100
+++ b/src/Pure/Thy/sessions.scala	Thu Dec 28 12:26:57 2017 +0100
@@ -29,7 +29,8 @@
 
   def exclude_session(name: String): Boolean = name == "" || name == DRAFT
 
-  def exclude_theory(name: String): Boolean = name == root_name
+  def exclude_theory(name: String): Boolean =
+    name == root_name || name == "README" || name == "index"
 
 
   /* base info and source dependencies */