# HG changeset patch # User haftmann # Date 1329594611 -3600 # Node ID 8d51b375e926b5cc8981c51ecbea88807773fef0 # Parent 7ca897381b26ba38c541e4cb09a0c4f383d28d60 avoid redefinition of @{theory} antiquotation diff -r 7ca897381b26 -r 8d51b375e926 doc-src/antiquote_setup.ML --- a/doc-src/antiquote_setup.ML Sat Feb 18 20:13:38 2012 +0100 +++ b/doc-src/antiquote_setup.ML Sat Feb 18 20:50:11 2012 +0100 @@ -151,9 +151,6 @@ fun check_tool name = File.exists (Path.append (Path.explode "~~/lib/Tools") (Path.basic name)); -fun is_ancestor thy name = - exists (fn thy => Context.theory_name thy = name) (thy :: Context.ancestors_of thy); - val arg = enclose "{" "}" o clean_string; fun entity check markup kind index = @@ -210,7 +207,6 @@ entity_antiqs no_check "" "inference" #> entity_antiqs no_check "isatt" "executable" #> entity_antiqs (K check_tool) "isatt" "tool" #> - entity_antiqs (is_ancestor o Proof_Context.theory_of) "" "theory" #> entity_antiqs (thy_check ML_Context.intern_antiq ML_Context.defined_antiq) "" Isabelle_Markup.ML_antiquotationN;