# HG changeset patch # User wenzelm # Date 935488234 -7200 # Node ID 60534b9018aeb586793501d50017b0fac57381bd # Parent aee8f76fe54cef8c9847bc02279862baacfbb19e fixed add_sect etc.; diff -r aee8f76fe54c -r 60534b9018ae src/Pure/Isar/isar_thy.ML --- a/src/Pure/Isar/isar_thy.ML Tue Aug 24 11:50:17 1999 +0200 +++ b/src/Pure/Isar/isar_thy.ML Tue Aug 24 11:50:34 1999 +0200 @@ -160,7 +160,7 @@ (* formal comments *) -fun add_text comment thy = thy; +fun add_text comment thy = thy:theory; fun add_title title author date thy = thy; val add_chapter = add_text; val add_section = add_text; @@ -168,9 +168,9 @@ val add_subsubsection = add_text; fun add_txt comment = ProofHistory.apply Proof.assert_forward; -val add_sect = add_text; -val add_subsect = add_text; -val add_subsubsect = add_text; +val add_sect = add_txt; +val add_subsect = add_txt; +val add_subsubsect = add_txt; (* signature and syntax *)