1.1 --- a/src/Pure/General/print_mode.ML Sun Sep 16 14:59:10 2007 +0200
1.2 +++ b/src/Pure/General/print_mode.ML Sun Sep 16 15:27:26 2007 +0200
1.3 @@ -25,9 +25,8 @@
1.4 val print_mode = ref ([]: string list);
1.5 fun print_mode_active s = member (op =) (! print_mode) s;
1.6
1.7 -fun with_modes [] f x = f x
1.8 - | with_modes modes f x = NAMED_CRITICAL "print_mode" (fn () =>
1.9 - setmp print_mode (modes @ ! print_mode) f x);
1.10 +fun with_modes modes f x = NAMED_CRITICAL "print_mode" (fn () =>
1.11 + setmp print_mode (modes @ ! print_mode) f x);
1.12
1.13 fun with_default f x = NAMED_CRITICAL "print_mode" (fn () =>
1.14 setmp print_mode [] f x);