equal
deleted
inserted
replaced
389 if ! thm_deps andalso can Toplevel.theory_of state andalso Toplevel.is_theory state' |
389 if ! thm_deps andalso can Toplevel.theory_of state andalso Toplevel.is_theory state' |
390 then |
390 then |
391 let |
391 let |
392 val prev_facts = Global_Theory.facts_of (Toplevel.theory_of state); |
392 val prev_facts = Global_Theory.facts_of (Toplevel.theory_of state); |
393 val facts = Global_Theory.facts_of (Toplevel.theory_of state'); |
393 val facts = Global_Theory.facts_of (Toplevel.theory_of state'); |
394 val (names, deps) = get_thm_deps (maps #2 (Facts.dest_static [prev_facts] facts)); |
394 val (names, deps) = get_thm_deps (maps #2 (Facts.dest_static true [prev_facts] facts)); |
395 in |
395 in |
396 if null names orelse null deps then () |
396 if null names orelse null deps then () |
397 else thm_deps_message (spaces_quote names, spaces_quote deps) |
397 else thm_deps_message (spaces_quote names, spaces_quote deps) |
398 end |
398 end |
399 else ()); |
399 else ()); |