src/HOL/Tools/Function/function.ML
changeset 44192 a32ca9165928
parent 44052 00f0c8782a51
child 44239 47ecd30e018d
--- a/src/HOL/Tools/Function/function.ML	Sat Aug 13 21:28:01 2011 +0200
+++ b/src/HOL/Tools/Function/function.ML	Sat Aug 13 22:04:07 2011 +0200
@@ -125,9 +125,7 @@
           pinducts=snd pinducts', simps=NONE, inducts=NONE, termination=termination',
           fs=fs, R=R, defname=defname, is_partial=true }
 
-        val _ =
-          if not is_external then ()
-          else Specification.print_consts lthy (K false) (map fst fixes)
+        val _ = Proof_Display.print_consts is_external lthy (K false) (map fst fixes)
       in
         (info, 
          lthy |> Local_Theory.declaration false (add_function_data o morph_function_data info))