src/Pure/Interface/proof_general.ML
changeset 10417 42e6b8502d52
parent 10246 d8c968e6329a
child 10933 0b3997a180dd
equal deleted inserted replaced
10416:5b33e732e459 10417:42e6b8502d52
   143 
   143 
   144 
   144 
   145 (* prepare theory context *)
   145 (* prepare theory context *)
   146 
   146 
   147 val thy_name = Path.pack o Path.drop_ext o Path.base o Path.unpack;
   147 val thy_name = Path.pack o Path.drop_ext o Path.base o Path.unpack;
   148 val update_thy_only = setmp Thm.trace_simp false ThyInfo.update_thy_only;
   148 val update_thy_only = setmp MetaSimplifier.trace_simp false ThyInfo.update_thy_only;
   149 
   149 
   150 fun which_context () =
   150 fun which_context () =
   151   (case Context.get_context () of
   151   (case Context.get_context () of
   152     Some thy => "  Using current (dynamic!) one: " ^
   152     Some thy => "  Using current (dynamic!) one: " ^
   153       (case try PureThy.get_name thy of Some name => quote name | None => "<unnamed>")
   153       (case try PureThy.get_name thy of Some name => quote name | None => "<unnamed>")