append print_modes;
authorwenzelm
Fri, 01 Dec 2000 19:43:40 +0100
changeset 10570 fc7afc98a329
parent 10569 e8346dad78e1
child 10571 fdde440a9033
append print_modes;
src/Pure/Isar/isar_output.ML
--- a/src/Pure/Isar/isar_output.ML	Fri Dec 01 19:43:06 2000 +0100
+++ b/src/Pure/Isar/isar_output.ML	Fri Dec 01 19:43:40 2000 +0100
@@ -141,7 +141,8 @@
     fun expand (Antiquote.Text s) = s
       | expand (Antiquote.Antiq x) =
           let val (opts, src) = antiq_args lex x in
-            Library.setmp print_mode Latex.modes (options opts (fn () => command src state)) ()
+            Library.setmp print_mode (Latex.modes @ ! print_mode)
+              (options opts (fn () => command src state)) ()
           end;
     val ants = Antiquote.antiquotes_of (str, pos);
   in