tuned;
authorwenzelm
Fri, 25 Sep 2015 19:20:24 +0200
changeset 61263 48ab72301c1e
parent 61262 7bd1eb4b056e
child 61264 95ede7916178
tuned;
src/Pure/more_thm.ML
--- a/src/Pure/more_thm.ML	Fri Sep 25 19:13:47 2015 +0200
+++ b/src/Pure/more_thm.ML	Fri Sep 25 19:20:24 2015 +0200
@@ -290,12 +290,8 @@
   (case undeclared_hyps context th of
     [] => th
   | undeclared =>
-      let
-        val ctxt = Context.cases Syntax.init_pretty_global I context;
-      in
-        error (Pretty.string_of (Pretty.big_list "Undeclared hyps:"
-          (map (Pretty.item o single o Syntax.pretty_term ctxt) undeclared)))
-      end);
+      error (Pretty.string_of (Pretty.big_list "Undeclared hyps:"
+        (map (Pretty.item o single o Syntax.pretty_term (Syntax.init_pretty context)) undeclared))));