antiq: preview errors;
authorwenzelm
Sat, 23 Dec 2000 22:53:27 +0100
changeset 10739 ec19f5902ef5
parent 10738 3a610089c43b
child 10740 8256cfec2040
antiq: preview errors;
src/Pure/Isar/isar_output.ML
--- a/src/Pure/Isar/isar_output.ML	Sat Dec 23 22:53:05 2000 +0100
+++ b/src/Pure/Isar/isar_output.ML	Sat Dec 23 22:53:27 2000 +0100
@@ -141,6 +141,7 @@
     fun expand (Antiquote.Text s) = s
       | expand (Antiquote.Antiq x) =
           let val (opts, src) = antiq_args lex x in
+            options opts (fn () => command src state) ();  (*preview errors!*)
             Library.setmp print_mode (Latex.modes @ ! print_mode)
               (options opts (fn () => command src state)) ()
           end;