# HG changeset patch # User wenzelm # Date 1163514594 -3600 # Node ID c63755004033f91ba3bcb5e295499b85bbbac00f # Parent 072e83a0b5bbd91c81b5396b699d4b1e01165b82 antiquotation theory: plain Theory.requires, no peeking at ThyInfo; diff -r 072e83a0b5bb -r c63755004033 src/Pure/Isar/isar_output.ML --- a/src/Pure/Isar/isar_output.ML Tue Nov 14 15:29:52 2006 +0100 +++ b/src/Pure/Isar/isar_output.ML Tue Nov 14 15:29:54 2006 +0100 @@ -462,7 +462,8 @@ fun pretty_prf full ctxt thms = Pretty.chunks (map (ProofContext.pretty_proof_of ctxt full) thms); -fun pretty_theory name = (ThyInfo.theory name; Pretty.str name); +fun pretty_theory ctxt name = + (Theory.requires (ProofContext.theory_of ctxt) name "presentation"; Pretty.str name); (* Isar output *) @@ -522,7 +523,7 @@ ("subgoals", output_goals false), ("prf", args Attrib.thms (output (pretty_prf false))), ("full_prf", args Attrib.thms (output (pretty_prf true))), - ("theory", args (Scan.lift Args.name) (output (K pretty_theory))), + ("theory", args (Scan.lift Args.name) (output pretty_theory)), ("ML", args (Scan.lift Args.name) (output_ml ml_val)), ("ML_type", args (Scan.lift Args.name) (output_ml ml_type)), ("ML_struct", args (Scan.lift Args.name) (output_ml ml_struct))];